25 lines
586 B
Text
25 lines
586 B
Text
|
<VirtualHost *:80>
|
||
|
ServerName mumble.example.com
|
||
|
ServerAdmin webmaster@localhost
|
||
|
|
||
|
DocumentRoot /usr/share/mumble-web/html
|
||
|
|
||
|
<Directory /usr/share/mumble-web/html>
|
||
|
Options -Indexes
|
||
|
Require all granted
|
||
|
AllowOverride none
|
||
|
</Directory>
|
||
|
|
||
|
<Location /ws>
|
||
|
RewriteEngine On
|
||
|
RewriteCond %{HTTP:Upgrade} =websocket
|
||
|
RewriteRule ^/(.*) ws://localhost:64737/$1 [P,L]
|
||
|
RewriteRule ^/(.*) http://localhost:64737/$1 [P,L]
|
||
|
</Location>
|
||
|
|
||
|
ErrorLog ${APACHE_LOG_DIR}/error.log
|
||
|
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
||
|
|
||
|
</VirtualHost>
|
||
|
|
||
|
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
|