Fix websocket testnet #2

This commit is contained in:
Wietse Wind
2023-12-29 01:13:57 +01:00
parent 6dc9691c45
commit 91b12622e4

View File

@@ -210,6 +210,17 @@ http {
location /testnet/ { location /testnet/ {
proxy_pass http://127.0.0.1:$PUBLIC_PORT_TESTNET/; proxy_pass http://127.0.0.1:$PUBLIC_PORT_TESTNET/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
proxy_cache off;
proxy_buffering off;
# Configuration for LongPolling or if your KeepAliveInterval is longer than 60 seconds
proxy_read_timeout 100s;
proxy_set_header Host $host;
proxy_set_header X-Incoming-Scheme $scheme;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-No-Cors 1;
} }
location / { location / {