Files
wger/extras/docker/apache/wger.conf
Roland Geider daf6f5c6cc Some changes to the apache configuration
With this directives, it is possible to have different virtualhosts.
2016-06-12 18:27:53 +02:00

26 lines
639 B
Plaintext

<Directory /home/wger/src>
<Files wsgi.py>
Require all granted
</Files>
</Directory>
<VirtualHost *:80>
WSGIDaemonProcess wger python-path=/home/wger/src:/home/wger/venv/lib/python3.4/site-packages
WSGIProcessGroup wger
WSGIScriptAlias / /home/wger/src/wger/wsgi.py
Alias /static/ /home/wger/static/
<Directory /home/wger/static>
Require all granted
</Directory>
Alias /media/ /home/wger/media/
<Directory /home/wger//media>
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>