56 lines
1.3 KiB
Text
56 lines
1.3 KiB
Text
<VirtualHost *:80>
|
|
|
|
#ServerName pandora.YOURDOMAIN.COM
|
|
|
|
<Location />
|
|
Options -Indexes
|
|
</Location>
|
|
<Directory /srv/pandora>
|
|
Order deny,allow
|
|
Allow from all
|
|
</Directory>
|
|
|
|
<Location />
|
|
XSendFile on
|
|
XSendFilePath /srv/pandora
|
|
</Location>
|
|
|
|
AddType video/webm webm
|
|
|
|
ProxyRequests Off
|
|
<Proxy *>
|
|
Order deny,allow
|
|
Allow from all
|
|
</Proxy>
|
|
ProxyPass /static !
|
|
ProxyPass /favicon.ico !
|
|
ProxyPass /data !
|
|
ProxyPass /.bzr !
|
|
|
|
RequestHeader unset Proxy
|
|
|
|
Alias /.bzr /srv/pandora/.bzr
|
|
Alias /static /srv/pandora/static
|
|
Alias /favicon.ico /srv/pandora/static/favicon.ico
|
|
Alias /data /srv/pandora/data
|
|
|
|
ProxyPreserveHost On
|
|
ProxyPass /api/ws/ ws://127.0.0.1:2622/ retry=0
|
|
|
|
ProxyPass / http://127.0.0.1:2620/
|
|
ProxyPassReverse / http://127.0.0.1:2620/
|
|
|
|
LogLevel warn
|
|
ErrorLog /var/log/apache2/pandora_error.log
|
|
CustomLog /var/log/apache2/pandora_access.log combined
|
|
|
|
ErrorDocument 500 /srv/pandora/static/html/50x.html
|
|
ErrorDocument 502 /srv/pandora/static/html/50x.html
|
|
ErrorDocument 503 /srv/pandora/static/html/50x.html
|
|
ErrorDocument 504 /srv/pandora/static/html/50x.html
|
|
ErrorDocument 404 /srv/pandora/static/html/404.html
|
|
|
|
ServerSignature Off
|
|
</VirtualHost>
|
|
|
|
|