Skip to content

Commit 732ead2

Browse files
committed
doc: amend nginx config
1 parent 9122df0 commit 732ead2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/misc.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Assuming that the PyWebIO application is running at the ``localhost:5000`` addre
3737
proxy_read_timeout 300s;
3838
proxy_send_timeout 300s;
3939
proxy_http_version 1.1;
40-
proxy_set_header Host $host:$server_port;
40+
proxy_set_header Host $http_host;
4141
proxy_set_header Upgrade $http_upgrade;
4242
proxy_set_header Connection $connection_upgrade;
4343
proxy_pass http://localhost:5000/;

0 commit comments

Comments
 (0)