Sfoglia il codice sorgente

explorer: Correct python webserver configs

x 6 mesi fa
parent
commit
b9005d5852
2 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  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;