package-pipelines-miscellan.../mumble-web/mumble-web.site

25 lines
586 B
Text
Raw Normal View History

2023-12-05 23:40:22 +01:00
<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