Created
March 5, 2018 21:04
-
-
Save benhg/ae8665676f0aded1cec5aeb2b19a7ee0 to your computer and use it in GitHub Desktop.
HTTPD Config for a virtual host for a flask app
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
<VirtualHost *> | |
ServerName FQDN HERE | |
WSGIDaemonProcess PROCESS_GROUP_NAME threads=5 display-name=%{GROUP} python-home=/usr/local/ | |
WSGIProcessGroup PROCESS_GROUP_NAME | |
WSGIScriptAlias / /PATH/TO/APP/server_base.wsgi | |
<Directory /PATH/TO/APP> | |
WSGIProcessGroup PROCESS_GROUP_NAME | |
WSGIApplicationGroup %{GLOBAL} | |
Order deny,allow | |
Allow from all | |
</Directory> | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment