soundboard/apache/010-soundboard.conf
Andreas Erhard 8eaf74a4b4 added apache config for serving sounds to clients
... and playing them on client side

addition to 55e8e04bb25a7ac8ccde6e38b889ec4fad29c7de
2017-08-04 13:58:41 +02:00

26 lines
578 B
Plaintext

Listen 5000
<VirtualHost *:5000>
WSGIDaemonProcess soundboard user=www-data group=www-data threads=5
WSGIScriptAlias / /var/www/soundboard/soundboard.wsgi
Alias /sounds /home/pi/sounds
<Directory /var/www/soundboard>
WSGIProcessGroup soundboard
WSGIApplicationGroup %{GLOBAL}
WSGIScriptReloading On
Order deny,allow
Allow from all
</Directory>
<Directory /home/pi/sounds>
Options FollowSymLinks
AllowOverride All
Order deny,allow
Allow from all
Require all granted
</Directory>
</VirtualHost>