Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
nginx: Replace proxy http_host with host (#39322)
James Renken315ae5fdcefa
diff --git a/puppet/zulip/files/nginx/zulip-include-common/proxy b/puppet/zulip/files/nginx/zulip-include-common/proxyindex e6d5323424a..c0f1dcb6495 100644--- a/puppet/zulip/files/nginx/zulip-include-common/proxy+++ b/puppet/zulip/files/nginx/zulip-include-common/proxy@@ -2,7 +2,7 @@ proxy_http_version 1.1;# Clearing the Connection header is required for keepalives from the load balancer# http://nginx.org/en/docs/http/ngx_http_upstream_module.html#keepaliveproxy_set_header Connection "";-proxy_set_header Host $http_host;+proxy_set_header Host $host;proxy_set_header X-Forwarded-Proto $trusted_x_forwarded_proto;proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;proxy_set_header X-Real-Ip $trusted_remote_addr;