From c5f3386338057878648fd30af9c0462d6de78425 Mon Sep 17 00:00:00 2001 From: Marco Bonelli Date: Thu, 23 May 2024 22:07:54 +0200 Subject: [PATCH] Fix Nginx websocket config: proxy_pass is not inherited --- reverse-proxy/nginx/plausible | 1 + 1 file changed, 1 insertion(+) diff --git a/reverse-proxy/nginx/plausible b/reverse-proxy/nginx/plausible index 66bffd4..deb70d1 100644 --- a/reverse-proxy/nginx/plausible +++ b/reverse-proxy/nginx/plausible @@ -10,6 +10,7 @@ server { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; location = /live/websocket { + proxy_pass http://127.0.0.1:8000; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "Upgrade";