pad, last fix

This commit is contained in:
Mark Janssen 2024-09-25 14:32:35 +02:00
parent 1adae2f702
commit fc443544d3
Signed by: foobar
GPG key ID: D8674D8FC4F69BD2

View file

@ -7,7 +7,7 @@ etherpad_domain: pad.bitlair.nl
nginx_sites: nginx_sites:
- server_name: "pad.bitlair.nl" - server_name: "pad.bitlair.nl"
localproxy: "9001" # localproxy: "9001"
pre_config: pre_config:
- "# WebSocket proxying - from https://nginx.org/en/docs/http/websocket.html" - "# WebSocket proxying - from https://nginx.org/en/docs/http/websocket.html"
- "map $http_upgrade $connection_upgrade {" - "map $http_upgrade $connection_upgrade {"
@ -16,6 +16,9 @@ nginx_sites:
- "}" - "}"
config: config:
- "location / {" - "location / {"
- " proxy_pass http://localhost:9001/;"
- " include proxy_params;"
- ""
- " # WebSocket proxying - from https://nginx.org/en/docs/http/websocket.html" - " # WebSocket proxying - from https://nginx.org/en/docs/http/websocket.html"
- " proxy_set_header Upgrade $http_upgrade;" - " proxy_set_header Upgrade $http_upgrade;"
- " proxy_set_header Connection $connection_upgrade;" - " proxy_set_header Connection $connection_upgrade;"