forked from docker-archive/tutum-lamp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapache_default
More file actions
36 lines (28 loc) · 1 KB
/
Copy pathapache_default
File metadata and controls
36 lines (28 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
WSGIScriptAlias / /srv/python-sources/batchmaster/wsgi_handler.py
UseCanonicalName Off
ServerAdmin webmaster@localhost
DocumentRoot /srv/python-sources/batchmaster/media
Alias /media /srv/python-sources/batchmaster/media
<Location "/media">
SetHandler None
</Location>
Alias /static/admin "/usr/local/lib/python2.6/dist-packages/django/contrib/admin/static/admin"
<Directory "/usr/local/lib/python2.6/dist-packages/django/contrib/admin/static/admin">
Order allow,deny
Options Indexes
Allow from all
IndexOptions FancyIndexing
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/access.log combined
#
# Set HTTPS environment variable if we came in over secure
# channel.
SetEnvIf x-forwarded-proto https HTTPS=on
</VirtualHost>