From fc443544d308cbafaef82b366c01287de2c04058 Mon Sep 17 00:00:00 2001 From: Mark Janssen Date: Wed, 25 Sep 2024 14:32:35 +0200 Subject: [PATCH] pad, last fix --- group_vars/pad.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/group_vars/pad.yaml b/group_vars/pad.yaml index 3d2f69c..a629003 100644 --- a/group_vars/pad.yaml +++ b/group_vars/pad.yaml @@ -7,7 +7,7 @@ etherpad_domain: pad.bitlair.nl nginx_sites: - server_name: "pad.bitlair.nl" - localproxy: "9001" +# localproxy: "9001" pre_config: - "# WebSocket proxying - from https://nginx.org/en/docs/http/websocket.html" - "map $http_upgrade $connection_upgrade {" @@ -16,6 +16,9 @@ nginx_sites: - "}" config: - "location / {" + - " proxy_pass http://localhost:9001/;" + - " include proxy_params;" + - "" - " # WebSocket proxying - from https://nginx.org/en/docs/http/websocket.html" - " proxy_set_header Upgrade $http_upgrade;" - " proxy_set_header Connection $connection_upgrade;"