diff --git a/etc/nginx/snippets/proxy.conf b/etc/nginx/snippets/proxy.conf index b5b5612..1dc108b 100644 --- a/etc/nginx/snippets/proxy.conf +++ b/etc/nginx/snippets/proxy.conf @@ -16,7 +16,7 @@ proxy_set_header X-Original-URL $scheme://$http_host$request_uri; proxy_set_header X-Original-URI $request_uri; # Forward host header -proxy_set_header Host $http_host; +proxy_set_header Host $host; # Upgrade connection proxy_set_header Upgrade $http_upgrade; @@ -30,4 +30,4 @@ proxy_set_header X-Forwarded-Ssl on; proxy_set_header X-Forwarded-Port $server_port; # Hide X-Powered-By -proxy_hide_header X-Powered-By; \ No newline at end of file +proxy_hide_header X-Powered-By;