1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 19:52:06 +00:00
iiab/roles/pathagar/templates/pathagar.conf

31 lines
728 B
Text
Raw Normal View History

2017-05-27 18:09:50 +00:00
Alias {{ pathagar_subpath }}/static/ {{ pathagar_collectstatic }}/
Alias {{ pathagar_subpath }}/static_media/ {{ pathagar_media }}/
<Directory {{ pathagar_collectstatic }}>
Order deny,allow
Allow from all
Require all granted
</Directory>
<Directory {{ pathagar_media }}>
Order deny,allow
Allow from all
Require all granted
</Directory>
WSGIPythonPath {{ pathagar_dir }}:{{ pathagar_venv }}/lib/python2.7/site-packages
WSGIScriptAlias {{ pathagar_subpath }} {{ pathagar_dir }}/wsgi.py
<Directory {{ pathagar_dir }}>
<Files wsgi.py>
Order allow,deny
Allow from all
Require all granted
</Files>
</Directory>
CustomLog /var/log/{{ apache_service }}/pathagar-access.log combined
ServerSignature On