Răsfoiți Sursa

Update nginx documentation

Samuel Mutel 6 ani în urmă
părinte
comite
73b35e72d8
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      docs/installation/3-http-daemon.md

+ 1 - 1
docs/installation/3-http-daemon.md

@@ -29,7 +29,7 @@ server {
 
     location / {
         proxy_pass http://127.0.0.1:8001;
-        proxy_set_header X-Forwarded-Host $server_name;
+        proxy_set_header X-Forwarded-Host $http_host;
         proxy_set_header X-Real-IP $remote_addr;
         proxy_set_header X-Forwarded-Proto $scheme;
     }