ServerName mumble.example.com ServerAdmin webmaster@localhost DocumentRoot /usr/share/mumble-web/html Options -Indexes Require all granted AllowOverride none Alias /config.local.js /etc/mumble-web/html/config.js Options -Indexes Require all granted AllowOverride none RewriteEngine On RewriteCond %{HTTP:Upgrade} =websocket RewriteRule ^/(.*) ws://localhost:64737/$1 [P,L] RewriteRule ^/(.*) http://localhost:64737/$1 [P,L] ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined # vim: syntax=apache ts=4 sw=4 sts=4 sr noet