diff --git a/conf/nginx.conf b/conf/nginx.conf index 2675da8..9f0744f 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -210,6 +210,17 @@ http { location /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 / {