update readme, dont use __PREFIX__ in apache/nginx config
This commit is contained in:
parent
134d340790
commit
d658da92c8
4 changed files with 125 additions and 95 deletions
|
|
@ -1,16 +1,18 @@
|
|||
<VirtualHost *:80>
|
||||
|
||||
#ServerName pandora.YOURDOMAIN.COM
|
||||
|
||||
<Location />
|
||||
Options -Indexes
|
||||
</Location>
|
||||
<Directory __PREFIX__>
|
||||
<Directory /srv/pandora>
|
||||
Order deny,allow
|
||||
Allow from all
|
||||
</Directory>
|
||||
|
||||
<Location />
|
||||
XSendFile on
|
||||
XSendFilePath __PREFIX__
|
||||
XSendFilePath /srv/pandora
|
||||
</Location>
|
||||
|
||||
AddType video/webm webm
|
||||
|
|
@ -26,11 +28,10 @@
|
|||
ProxyPass /data !
|
||||
ProxyPass /.bzr !
|
||||
|
||||
|
||||
Alias /.bzr __PREFIX__/.bzr
|
||||
Alias /static __PREFIX__/static
|
||||
Alias /favicon.ico __PREFIX__/static/favicon.ico
|
||||
Alias /data __PREFIX__/data
|
||||
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/
|
||||
Loading…
Add table
Add a link
Reference in a new issue