-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsample-apache.conf
More file actions
28 lines (21 loc) · 814 Bytes
/
Copy pathsample-apache.conf
File metadata and controls
28 lines (21 loc) · 814 Bytes
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
<VirtualHost *:80>
# If a virtual host is going to be used include ServerName directive
ServerName django-template.dev
Alias /static /srv/webroot/django-template/static
<Directory /srv/webroot/django-template/static>
Require all granted
</Directory>
Alias /media /srv/webroot/django-template/media
<Directory /srv/webroot/django-template/media>
Require all granted
</Directory>
<Directory /srv/webroot/django-template/config>
<Files wsgi.py>
Require all granted
</Files>
</Directory>
WSGIScriptAlias / /srv/webroot/django-template/config/wsgi.py
WSGIProcessGroup django-template
WSGIDaemonProcess django-template python-home=/srv/webroot/django-template/venv python-path=/srv/webroot/django-template
</VirtualHost>
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet