diff --git a/docs/nginx.md b/docs/nginx.md index 0917cec7..099587a2 100644 --- a/docs/nginx.md +++ b/docs/nginx.md @@ -31,7 +31,7 @@ server { location / { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header Host $http_host; + proxy_set_header Host $host; # If the file exists as a static file serve it directly without # running all the other rewrite tests on it