We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 000e818 commit b6294baCopy full SHA for b6294ba
configs/gateway/base.conf
@@ -46,7 +46,6 @@ location ~ \.php($|/) {
46
47
location @ws {
48
proxy_pass http://${WS_SERVICE_NAME}:6001;
49
- proxy_set_header Host $host;
50
proxy_read_timeout 60;
51
proxy_connect_timeout 60;
52
proxy_redirect off;
@@ -56,5 +55,9 @@ location @ws {
56
55
proxy_set_header Upgrade $http_upgrade;
57
proxy_set_header Connection 'upgrade';
58
proxy_set_header Host $host;
+ proxy_set_header Scheme $scheme;
59
+ proxy_set_header SERVER_PORT $server_port;
60
+ proxy_set_header REMOTE_ADDR $remote_addr;
61
+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
62
proxy_cache_bypass $http_upgrade;
63
}
0 commit comments