removed port from reverse proxy; allows it to work when port changes

This commit is contained in:
Brian Long 2020-12-25 23:08:07 -05:00
parent a42af25649
commit 4e8453becd

View File

@ -20,7 +20,7 @@ http {
proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504;
proxy_redirect off;
proxy_buffering off;
proxy_set_header Host $host:$server_port;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass_header Set-Cookie;