added apache config for serving sounds to clients

... and playing them on client side

addition to 55e8e04bb25a7ac8ccde6e38b889ec4fad29c7de
This commit is contained in:
Erhard 2017-08-04 13:58:41 +02:00
parent c3c8af986d
commit 8eaf74a4b4

View File

@ -1,10 +1,10 @@
Listen 5000
<VirtualHost *:5000>
#ServerName example.com
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}
@ -12,4 +12,14 @@ Listen 5000
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>