Add ws proxy to apache2/plausible.conf

Websocket connections on apache2 were failing until it was routed correctly - caused tocket creation to fail.
This commit is contained in:
Phil Banks 2024-06-18 18:15:48 +01:00 committed by ruslandoga
parent 92f2445fbe
commit e023cf8874

View File

@ -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/