add Apache bit

This commit is contained in:
Jan-Piet Mens
2015-10-15 17:22:22 +02:00
parent b6797b759b
commit 06babb041a

View File

@@ -563,6 +563,23 @@ server {
}
```
### Apache
Assuming you want to use Apache as a reverse proxy to the recorder, the following
may get you started. This will hand URIs which begin with `/otr/` to the _Recorder_.
```
# Websocket URL endpoint
# a2enmod proxy_wstunnel
ProxyPass /otr/ws ws://127.0.0.1:8083/ws keepalive=on retry=60
ProxyPassReverse /otr/ws ws://127.0.0.1:8083/ws keepalive=on
# Static files
ProxyPass /otr http://127.0.0.1:8083/
ProxyPassReverse /otr http://127.0.0.1:8083/
```
## Advanced topics
### The LMDB database