2009-12-31 16:04:32 +01:00
|
|
|
<VirtualHost *:80>
|
|
|
|
|
2012-10-30 11:23:36 +01:00
|
|
|
#ServerName pandora.YOURDOMAIN.COM
|
|
|
|
|
2009-12-31 16:04:32 +01:00
|
|
|
<Location />
|
|
|
|
Options -Indexes
|
|
|
|
</Location>
|
2012-10-30 11:23:36 +01:00
|
|
|
<Directory /srv/pandora>
|
2009-12-31 16:04:32 +01:00
|
|
|
Order deny,allow
|
|
|
|
Allow from all
|
|
|
|
</Directory>
|
|
|
|
|
2010-02-16 18:11:57 +05:30
|
|
|
<Location />
|
|
|
|
XSendFile on
|
2012-10-30 11:23:36 +01:00
|
|
|
XSendFilePath /srv/pandora
|
2010-02-16 18:11:57 +05:30
|
|
|
</Location>
|
2012-02-24 02:12:26 +05:30
|
|
|
|
|
|
|
AddType video/webm webm
|
|
|
|
|
2011-11-08 18:05:26 +01:00
|
|
|
ProxyRequests Off
|
|
|
|
<Proxy *>
|
|
|
|
Order deny,allow
|
|
|
|
Allow from all
|
|
|
|
</Proxy>
|
2012-02-22 22:04:41 +05:30
|
|
|
ProxyPass /static !
|
|
|
|
ProxyPass /favicon.ico !
|
|
|
|
ProxyPass /data !
|
|
|
|
ProxyPass /.bzr !
|
|
|
|
|
2016-07-19 15:43:04 +02:00
|
|
|
RequestHeader unset Proxy
|
|
|
|
|
2012-10-30 11:23:36 +01:00
|
|
|
Alias /.bzr /srv/pandora/.bzr
|
|
|
|
Alias /static /srv/pandora/static
|
|
|
|
Alias /favicon.ico /srv/pandora/static/favicon.ico
|
|
|
|
Alias /data /srv/pandora/data
|
2012-02-22 22:04:41 +05:30
|
|
|
|
|
|
|
ProxyPreserveHost On
|
2015-04-28 23:05:15 +05:30
|
|
|
ProxyPass /api/ws/ ws://127.0.0.1:2622/ retry=0
|
|
|
|
|
2012-02-22 22:04:41 +05:30
|
|
|
ProxyPass / http://127.0.0.1:2620/
|
|
|
|
ProxyPassReverse / http://127.0.0.1:2620/
|
2009-12-31 16:04:32 +01:00
|
|
|
|
2012-04-19 18:06:38 +02:00
|
|
|
LogLevel warn
|
|
|
|
ErrorLog /var/log/apache2/pandora_error.log
|
|
|
|
CustomLog /var/log/apache2/pandora_access.log combined
|
|
|
|
|
2012-11-16 01:32:13 +01:00
|
|
|
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
|
|
|
|
|
2009-12-31 16:04:32 +01:00
|
|
|
ServerSignature Off
|
|
|
|
</VirtualHost>
|
|
|
|
|
|
|
|
|