allow websockets to containers (#1340)

* allow websockets to containers

* fix format string
This commit is contained in:
Aiden McClelland
2022-03-17 16:51:45 -05:00
committed by GitHub
parent cb5bb34ed8
commit c640749c7c
2 changed files with 7 additions and 0 deletions

View File

@@ -11,5 +11,8 @@ server {{
client_max_body_size 0;
proxy_request_buffering off;
proxy_buffering off;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
}}
}}

View File

@@ -1,4 +1,8 @@
map $http_upgrade $connection_upgrade {{
default upgrade;
'' $http_connection;
}}
server {{
listen 443 ssl default_server;