diff --git a/etc/nginx/snippets/proxy.conf b/etc/nginx/snippets/proxy.conf index 40e8006..fd9a270 100644 --- a/etc/nginx/snippets/proxy.conf +++ b/etc/nginx/snippets/proxy.conf @@ -23,5 +23,5 @@ proxy_set_header Connection "upgrade"; # Enable X-Forwarded headers proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; -proxy_set_header X-Forwarded-Host $host; -proxy_set_header X-Forwarded-Proto $scheme; \ No newline at end of file +proxy_set_header X-Forwarded-Host $http_host; +proxy_set_header X-Forwarded-Proto $scheme;