Created
December 13, 2014 23:15
-
-
Save joshsimmons/38e83f39be736b2ae196 to your computer and use it in GitHub Desktop.
Apache config for Bit (Py) Monster
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ServerName bits.opensource.pub | |
WSGIScriptAlias / /vagrant_data/bit-monster/bit_monster/wsgi.py | |
WSGIPythonPath /vagrant_data/bit-monster/bit_monster:/vagrant_data/bit-monster/venv/lib/python3.4/site-packages | |
<Directory /vagrant_data/bit-monster/bit_monster> | |
<Files wsgi.py> | |
Require all granted | |
</Files> | |
</Directory> | |
Alias /robots.txt /vagrant_data/bit-monster/static/robots.txt | |
Alias /favicon.ico /vagrant_data/bit-monster/static/favicon.ico | |
Alias /static/ /vagrant_data/bit-monster/static/ | |
Alias /media/ /vagrant_data/bit-monster/media/ | |
<Directory /vagrant_data/bit-monster/static> | |
Require all granted | |
</Directory> | |
<Directory /vagrant_data/bit-monster/media> | |
Require all granted | |
</Directory> | |
WSGIDaemonProcess opensource.pub processes=2 threads=15 display-name=%{GROUP} | |
WSGIProcessGroup opensource.pub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment