Skip to content

Commit e023cf8

Browse files
phlbnksruslandoga
authored andcommitted
Add ws proxy to apache2/plausible.conf
Websocket connections on apache2 were failing until it was routed correctly - caused tocket creation to fail.
1 parent 92f2445 commit e023cf8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

reverse-proxy/apache2/plausible.conf

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
ServerName example.com
55

66
ProxyPreserveHost On
7+
ProxyAddHeaders On
8+
ProxyPassMatch ^/(live/websocket)$ ws://localhost:8000/$1
79
ProxyPass / http://localhost:8000/
810
ProxyPassReverse / http://localhost:8000/
911

0 commit comments

Comments
 (0)