summaryrefslogtreecommitdiff
path: root/stacks/web/share/reverse-proxy/README.txt
blob: 43d2748f0493f17c4ff55cb76f5653668f3545ac (plain)
1
2
3
4
5
6
7
8
9
10
MAX25 reverse-proxy examples. WebSocket proxy = M25/1 data on loopback only.

1. HTTPD_DOCROOT=/srv/www   # your httpd document root
2. cp -r docroot/max25-websocket $HTTPD_DOCROOT/
3. Add nginx/apache/lighttpd snippet (adjust paths) — see docs/WEBSOCKET.md
4. web-proxy.ini — copy share/web-proxy.ini.example to /etc/max25/web-proxy.ini
5. web-terminal.ini — copy share/web-terminal.ini.example to /etc/max25/web-terminal.ini
6. max25-ws-proxy -c /etc/max25/web-proxy.ini  (systemd example in share/max25/)

Match URL paths in web-proxy.ini and the httpd snippets in docs/WEBSOCKET.md.
git clone -b <branch> https://cgit.mode42.com/<repo>.git
git clone -b <branch> git://cgit.mode42.com/<repo>.git

info@mode42.com