diff options
author | Patrick Spek <p.spek@tyil.nl> | 2022-05-10 09:30:51 +0200 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2022-05-10 09:30:51 +0200 |
commit | 55e6c6d2150fca97272cff6e874a8e3d8b8cd000 (patch) | |
tree | 19ba4ce2115c1948ff4e3866263b796e90b76e97 /playbooks.d/webserver-nginx/share/sites.d/https/nl.tyil | |
parent | db3b14c800db5cfe18896d57f47bdccbea393196 (diff) |
Try different setup for the goaccess websocket
Diffstat (limited to 'playbooks.d/webserver-nginx/share/sites.d/https/nl.tyil')
-rw-r--r-- | playbooks.d/webserver-nginx/share/sites.d/https/nl.tyil | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/playbooks.d/webserver-nginx/share/sites.d/https/nl.tyil b/playbooks.d/webserver-nginx/share/sites.d/https/nl.tyil index f80c4b6..0551c3a 100644 --- a/playbooks.d/webserver-nginx/share/sites.d/https/nl.tyil +++ b/playbooks.d/webserver-nginx/share/sites.d/https/nl.tyil @@ -18,6 +18,13 @@ server { try_files $1 =404; } + location /goaccess-ws { + proxy_pass http://localhost:7890; + proxy_http_version 1.1; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "Upgrade"; + } + location / { return 301 https://www.tyil.nl$request_uri; } |