mirror of
https://github.com/plausible/hosting.git
synced 2024-12-22 12:03:18 -06:00
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:
parent
92f2445fbe
commit
e023cf8874
@ -4,6 +4,8 @@
|
|||||||
ServerName example.com
|
ServerName example.com
|
||||||
|
|
||||||
ProxyPreserveHost On
|
ProxyPreserveHost On
|
||||||
|
ProxyAddHeaders On
|
||||||
|
ProxyPassMatch ^/(live/websocket)$ ws://localhost:8000/$1
|
||||||
ProxyPass / http://localhost:8000/
|
ProxyPass / http://localhost:8000/
|
||||||
ProxyPassReverse / http://localhost:8000/
|
ProxyPassReverse / http://localhost:8000/
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user