Quellcode durchsuchen

explorer: Correct python webserver configs

x vor 6 Monaten
Ursprung
Commit
b9005d5852
2 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 1 1
      bin/explorer/python/hypercorn.toml
  2. 1 1
      bin/explorer/python/nginx.conf

+ 1 - 1
bin/explorer/python/hypercorn.toml

@@ -1,4 +1,4 @@
-# hypercorn --config hypercorn.toml app:app
+# hypercorn --config hypercorn.toml explorer:app
 bind = ["unix:/run/explorer/hypercorn.sock"]
 workers = 8
 worker_class = "asyncio"

+ 1 - 1
bin/explorer/python/nginx.conf

@@ -15,7 +15,7 @@ server {
 	add_header X-XSS-Protection "1; mode=block" always;
 
 	location / {
-		proxy_pass http://explorer
+		proxy_pass http://explorer;
 		proxy_redirect off;
 
 		proxy_set_header Host $host;