update readme, dont use __PREFIX__ in apache/nginx config

This commit is contained in:
j 2012-10-30 11:23:36 +01:00
commit d658da92c8
4 changed files with 125 additions and 95 deletions

47
etc/apache2/pandora.conf Normal file
View file

@ -0,0 +1,47 @@
<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 /robots.txt !
ProxyPass /data !
ProxyPass /.bzr !
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 / 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
ServerSignature Off
</VirtualHost>