update
This commit is contained in:
parent
c50569d73e
commit
a624163120
27 changed files with 215 additions and 6 deletions
|
|
@ -1,3 +1,8 @@
|
|||
# nginx defaults to proxying with HTTP/1.0. Websocket upgrade requires 1.1, so
|
||||
# keep that here instead of in the generic forwarded.conf snippet.
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection $connection_upgrade;
|
||||
|
||||
# Use the mapped value from http/websocket-map.conf so non-upgrade requests can
|
||||
# still close cleanly instead of always advertising "Connection: upgrade".
|
||||
proxy_set_header Connection $connection_upgrade;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue