Browse Source

Merge pull request #1053 from mattspitz/master

Pass $http_host as Host header in sample nginx config.
David Cramer 11 years ago
parent
commit
01b24b4dcb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/quickstart/nginx.rst

+ 1 - 1
docs/quickstart/nginx.rst

@@ -21,7 +21,7 @@ limits:
       server {
         listen   80;
 
-        proxy_set_header   Host                 $host;
+        proxy_set_header   Host                 $http_host;
         proxy_set_header   X-Real-IP            $remote_addr;
         proxy_set_header   X-Forwarded-For      $proxy_add_x_forwarded_for;
         proxy_set_header   X-Forwarded-Proto    $scheme;