update the apache config in the ansible role
This commit is contained in:
parent
754182bed3
commit
fa681e6de6
|
@ -12,12 +12,25 @@ WSGIPythonPath /vagrant/django/webshop/
|
||||||
#ServerName www.example.com
|
#ServerName www.example.com
|
||||||
|
|
||||||
ServerAdmin webmaster@localhost
|
ServerAdmin webmaster@localhost
|
||||||
|
|
||||||
|
Alias /media/ /vagrant/django/webshop/media/
|
||||||
|
Alias /static/ /vagrant/django/webshop/static/
|
||||||
|
|
||||||
<Directory /vagrant/django/webshop/webshop>
|
<Directory /vagrant/django/webshop/webshop>
|
||||||
<Files wsgi.py>
|
<Files wsgi.py>
|
||||||
Require all granted
|
Require all granted
|
||||||
</Files>
|
</Files>
|
||||||
</Directory>
|
</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,
|
# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
|
||||||
# error, crit, alert, emerg.
|
# error, crit, alert, emerg.
|
||||||
# It is also possible to configure the loglevel for particular
|
# It is also possible to configure the loglevel for particular
|
||||||
|
|
Loading…
Reference in New Issue