mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-04-28 03:00:18 -04:00
explorer: Correct python webserver configs
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user