rename
This commit is contained in:
parent
4aaf03c4e9
commit
47720f49ee
9 changed files with 38 additions and 37 deletions
45
etc/apache2/videopdf.conf
Normal file
45
etc/apache2/videopdf.conf
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
<VirtualHost *:80>
|
||||
ServerName pdf.0x2620.org
|
||||
|
||||
LogLevel warn
|
||||
ErrorLog /var/log/apache2/videopdf.org_error.log
|
||||
CustomLog /var/log/apache2/videopdf.org_access.log combined
|
||||
|
||||
<Location />
|
||||
Options -Indexes
|
||||
</Location>
|
||||
<Directory /srv/videopdf>
|
||||
Order deny,allow
|
||||
Allow from all
|
||||
</Directory>
|
||||
|
||||
<Location />
|
||||
XSendFile on
|
||||
XSendFileAllowAbove on
|
||||
</Location>
|
||||
|
||||
Alias /.bzr /srv/videopdf/.bzr
|
||||
Alias /static/admin /srv/videopdf/src/django/django/contrib/admin/static/admin
|
||||
Alias /static /srv/videopdf/static
|
||||
Alias /robots.txt /srv/videopdf/videopdf/static/robots.txt
|
||||
Alias /favicon.ico /srv/videopdf/videopdf/static/favicon.ico
|
||||
Alias /data /srv/videopdf/data
|
||||
Alias /admin/media /srv/videopdf/src/django/django/contrib/admin/media
|
||||
|
||||
ProxyPass /static !
|
||||
ProxyPass /favicon.ico !
|
||||
ProxyPass /robots.txt !
|
||||
ProxyPass /admin/media !
|
||||
ProxyPass /data !
|
||||
ProxyPass /.bzr !
|
||||
|
||||
ProxyRequests Off
|
||||
<Proxy *>
|
||||
Order deny,allow
|
||||
Allow from all
|
||||
</Proxy>
|
||||
ProxyPreserveHost On
|
||||
ProxyPass / http://127.0.0.1:2688/
|
||||
ProxyPassReverse / http://127.0.0.1:2688/
|
||||
ServerSignature Off
|
||||
</VirtualHost>
|
||||
Loading…
Add table
Add a link
Reference in a new issue