mirror of https://github.com/dani/vroom.git
Video conf based on SimpleWebRTC https://vroom.fws.fr/documentation
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
2.1 KiB
58 lines
2.1 KiB
11 years ago
|
<VirtualHost *:80>
|
||
|
ServerName vroom.example.com
|
||
|
DocumentRoot /opt/vroom/public
|
||
|
RewriteEngine on
|
||
|
RewriteRule ^/(.*|$) https://%{HTTP_HOST}/$1 [L,R]
|
||
|
</VirtualHost>
|
||
|
<VirtualHost *:443>
|
||
|
ServerName vroom.example.com
|
||
|
SSLEngine on
|
||
|
DocumentRoot /opt/vroom/public
|
||
11 years ago
|
<IfModule mod_proxy_wstunnel.c>
|
||
10 years ago
|
ProxyPass /socket.io/1/websocket ws://localhost:8090/socket.io/1/websocket
|
||
|
ProxyPassReverse /socket.io/1/websocket ws://localhost:8090/socket.io/1/websocket
|
||
11 years ago
|
</IfModule>
|
||
11 years ago
|
|
||
|
# Etherpad example
|
||
|
# If you install etherpad on the same box, listening on its default
|
||
|
# port (9001) and want it to be accessible on /etherpad/
|
||
11 years ago
|
# <IfModule mod_proxy_wstunnel.c>
|
||
11 years ago
|
# ProxyPass /etherpad/socket.io/1/websocket ws://localhost:9001/socket.io/1/websocket
|
||
|
# ProxyPassReverse /etherpad/socket.io/1/websocket ws://localhost:9001/socket.io/1/websocket
|
||
|
# </IfModule>
|
||
|
# ProxyPass /etherpad/ http://localhost:9001/
|
||
|
# ProxyPassReverse /etherpad/ http://localhost:9001/
|
||
|
|
||
|
|
||
10 years ago
|
ProxyPass / http://127.0.0.1:8090/
|
||
|
ProxyPassReverse / http://127.0.0.1:8090/
|
||
|
<Proxy *>
|
||
|
ProxyPreserveHost On
|
||
|
</Proxy>
|
||
11 years ago
|
<Location />
|
||
10 years ago
|
Require all granted
|
||
11 years ago
|
<IfModule mod_deflate.c>
|
||
|
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/javascript text/css
|
||
|
SetOutputFilter DEFLATE
|
||
|
BrowserMatch ^Mozilla/4 gzip-only-text/html
|
||
|
BrowserMatch ^Mozilla/4.0[678] no-gzip
|
||
|
BrowserMatch ^HMSIE !no-gzip !gzip-only-text/html
|
||
|
SetEnvIfNoCase Request_URI .(?:gif|jpe?g|png)$ no-gzip dont-vary
|
||
|
</IfModule>
|
||
|
<IfModule mod_headers.c>
|
||
|
Header append Vary User-Agent env=!dont-vary
|
||
11 years ago
|
Header unset ETag
|
||
11 years ago
|
</IfModule>
|
||
11 years ago
|
ExpiresActive on
|
||
|
ExpiresDefault "access plus 1 month"
|
||
|
ExpiresByType text/html "access plus 0 seconds"
|
||
11 years ago
|
</Location>
|
||
10 years ago
|
# You should customize this part to access the admin interface
|
||
|
# VROOM doesn't handle authentication, it's up to you to protect
|
||
|
# /admin on your web server
|
||
|
<Location /admin>
|
||
|
require local
|
||
|
</Location>
|
||
11 years ago
|
</VirtualHost>
|
||
|
|