update the apache config in the ansible role

This commit is contained in:
Andreas Zweili 2017-11-05 16:59:38 +01:00
parent 754182bed3
commit fa681e6de6
1 changed files with 13 additions and 0 deletions

View File

@ -12,12 +12,25 @@ WSGIPythonPath /vagrant/django/webshop/
#ServerName www.example.com
ServerAdmin webmaster@localhost
Alias /media/ /vagrant/django/webshop/media/
Alias /static/ /vagrant/django/webshop/static/
<Directory /vagrant/django/webshop/webshop>
<Files wsgi.py>
Require all granted
</Files>
</Directory>
<Directory /vagrant/django/webshop/media>
Require all granted
</Directory>
<Directory /vagrant/django/webshop/static>
Require all granted
</Directory>
# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
# error, crit, alert, emerg.
# It is also possible to configure the loglevel for particular