You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
arstar edited this page Dec 20, 2022
·
2 revisions
If you want to run Scribble.rs over Apache you have to setup a reverse proxy that supports websockets.
Make sure you have the following modules enabled:
rewrite
proxy
proxy_http
proxy_wstunnel
Within you virtual host add the below configuration, this will allow both normal and websocket traffic via the root of the virtual host.
RewriteEngine on
ProxyPass / http://localhost:8080/
RewriteEngine on
RewriteCond %{HTTP:Upgrade} websocket [NC]
RewriteCond %{HTTP:Connection} upgrade [NC]
RewriteRule ^/?(.*) "ws://localhost:8080/" [P,L]
This will serve Scribble.rs from the root of the virtual host.