equal
deleted
inserted
replaced
|
1 WSGIDaemonProcess {{ cookiecutter.project_slug }} user={{ cookiecutter.run_user }} group={{ cookiecutter.run_group }} processes=4 threads=4 display-name="{{ cookiecutter.project_name }}" |
|
2 |
|
3 <VirtualHost *:80> |
|
4 |
|
5 ServerAdmin webmaster@localhost |
|
6 ServerName {{ cookiecutter.virtual_hostname }} |
|
7 |
|
8 DocumentRoot $((INSTALL))/var/htdocs |
|
9 ErrorLog {{ cookiecutter.logs_directory }}/{{ cookiecutter.project_slug }}-error.log |
|
10 |
|
11 LogLevel warn |
|
12 |
|
13 CustomLog {{ cookiecutter.logs_directory }}/{{ cookiecutter.project_slug }}-access.log combined |
|
14 |
|
15 WSGIScriptAlias / $((INSTALL))/parts/wsgi/wsgi |
|
16 WSGIImportScript $((INSTALL))/parts/wsgi/wsgi process-group={{ cookiecutter.project_slug }} application-group=%{GLOBAL} |
|
17 |
|
18 <Location /> |
|
19 Order deny, allow |
|
20 Allow from all |
|
21 |
|
22 WSGIProcessGroup {{ cookiecutter.project_slug }} |
|
23 WSGIApplicationGroup %{GLOBAL} |
|
24 </Location> |
|
25 |
|
26 <Directory $((INSTALL))/parts/wsgi> |
|
27 Order deny, allow |
|
28 Allow from all |
|
29 </Directory> |
|
30 |
|
31 </VirtualHost> |