fixup
This commit is contained in:
parent
bf114b273b
commit
9fc16fda7e
|
@ -16,6 +16,9 @@ http {
|
||||||
# Use the placeholders for the proxy pass (these will be replaced by envsubst)
|
# Use the placeholders for the proxy pass (these will be replaced by envsubst)
|
||||||
proxy_pass ${PROTOCOL}://$BACKEND_ADDRESS:$BACKEND_PORT;
|
proxy_pass ${PROTOCOL}://$BACKEND_ADDRESS:$BACKEND_PORT;
|
||||||
# proxy_pass http://$BACKEND_ADDRESS:$BACKEND_PORT;
|
# proxy_pass http://$BACKEND_ADDRESS:$BACKEND_PORT;
|
||||||
|
proxy_http_version 1.1;
|
||||||
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
|
proxy_set_header Connection "Upgrade";
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
|
Loading…
Reference in New Issue