From e023cf8874871865be88d81b759c62d1032237a6 Mon Sep 17 00:00:00 2001 From: Phil Banks Date: Tue, 18 Jun 2024 18:15:48 +0100 Subject: [PATCH] Add ws proxy to apache2/plausible.conf Websocket connections on apache2 were failing until it was routed correctly - caused tocket creation to fail. --- reverse-proxy/apache2/plausible.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/reverse-proxy/apache2/plausible.conf b/reverse-proxy/apache2/plausible.conf index 9354436..5a79e9a 100644 --- a/reverse-proxy/apache2/plausible.conf +++ b/reverse-proxy/apache2/plausible.conf @@ -4,6 +4,8 @@ ServerName example.com ProxyPreserveHost On + ProxyAddHeaders On + ProxyPassMatch ^/(live/websocket)$ ws://localhost:8000/$1 ProxyPass / http://localhost:8000/ ProxyPassReverse / http://localhost:8000/