Created
January 28, 2015 08:51
-
-
Save pawl/99b6e114d0b792639400 to your computer and use it in GitHub Desktop.
mod_wsgi config for flask-admin
This file contains hidden or 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
WSGIDaemonProcess makermanager2 user=www-data group=www-data threads=5 | |
WSGIScriptAlias /makermanager2 /var/www/makermanager2/runserver.wsgi | |
<Directory /var/www/makermanager2> | |
WSGIProcessGroup makermanager2 | |
WSGIApplicationGroup %{GLOBAL} | |
Order deny,allow | |
Allow from all | |
</Directory> | |
Alias /makermanager2/assets /var/www/makermanager2/application/static | |
<Directory /var/www/makermanager2/application/static> | |
Order allow,deny | |
Allow from all | |
</Directory> | |
Alias /makermanager2/static/admin /opt/Envs/prod/src/flask-admin-master/flask_admin/static/ | |
<Directory /opt/Envs/prod/src/flask-admin-master/flask_admin/static/> | |
Order allow,deny | |
Allow from all | |
</Directory> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment