Files
wger/extras/docker/apache/wger.conf
Roland Geider 4c2c662bd6 Fix docker image
The WSGI process wasn't using the application't virtualenv, so neither django
or any other of the dependencies could be found.

Also, note to self: make sure that when testing changes to the wger.conf file,
you are *really* restarting the apache process to see if the fixes actually work...
2017-03-04 18:54:57 +01:00

26 lines
633 B
Plaintext

<Directory /home/wger/src>
<Files wsgi.py>
Require all granted
</Files>
</Directory>
<VirtualHost *:80>
WSGIDaemonProcess wger python-path=/home/wger/src python-home=/home/wger/venv
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}/wger-error.log
CustomLog ${APACHE_LOG_DIR}/wger-access.log combined
</VirtualHost>