commit ed95a68666c17429caa51750abf318957b71dd1c
parent 9ba2512be4ad1387a8f76156bd57bbcbcd6a8e97
Author: Sheng <webmaster0115@gmail.com>
Date: Tue, 6 Mar 2018 13:47:47 +0800
Updated nginx config
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
@@ -44,7 +44,7 @@ location / {
proxy_read_timeout 300;
proxy_set_header Upgrade $http_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-PORT $remote_port;
}