Updated nginx config

pull/12/head
Sheng 2018-03-06 13:47:47 +08:00
parent 9ba2512be4
commit ed95a68666
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ location / {
proxy_read_timeout 300; proxy_read_timeout 300;
proxy_set_header Upgrade $http_upgrade; proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade"; proxy_set_header Connection "upgrade";
proxy_set_header Host $host; proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Real-PORT $remote_port; proxy_set_header X-Real-PORT $remote_port;
} }