diff --git a/docs/source/howto/configuration/config-proxy.md b/docs/source/howto/configuration/config-proxy.md index 8c4dc37313..04efad6ff3 100644 --- a/docs/source/howto/configuration/config-proxy.md +++ b/docs/source/howto/configuration/config-proxy.md @@ -79,7 +79,7 @@ server { location / { proxy_pass http://127.0.0.1:8000; proxy_set_header X-Real-IP $remote_addr; - proxy_set_header Host $host; + proxy_set_header Host $http_host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; # websocket headers