Browse Source

Added example Apache HTTP Server configuration.

pull/229/head
Simon Eisenmann 10 years ago
parent
commit
ba1adde50b
  1. 30
      doc/APACHE.txt

30
doc/APACHE.txt

@ -0,0 +1,30 @@ @@ -0,0 +1,30 @@
## Apache HTTP Server configuration for Spreed WebRTC
Apache supports websocket proxy starting with 2.4.5.
Make sure you have the module mod_proxy_wstunnel enabled. In addition proxy,
proxy_http and headers modules have to be enabled. On Ubuntu this goes like
this: `a2enmod proxy proxy_http proxy_wstunnel headers`
Then add the following lines to your VirtualHost section:
<Location />
ProxyPass http://127.0.0.1:8080/
ProxyPassReverse /
</Location>
<Location /ws>
ProxyPass ws://127.0.0.1:8080/ws
</Location>
ProxyVia On
ProxyPreserveHost On
RequestHeader set X_FORWARDED_PROTO 'https' env=HTTPS
Thats it.
--
(c)2015 struktur AG
Loading…
Cancel
Save