1
0
Fork 0
This commit is contained in:
root 2023-09-25 13:36:33 -04:00
parent bf114b273b
commit 9fc16fda7e
1 changed files with 3 additions and 0 deletions

View File

@ -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;