Created
June 15, 2017 03:08
-
-
Save bazadactyl/266343d5803c8d92e007ef5799b162de to your computer and use it in GitHub Desktop.
Apache Configuration
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
# Settings | |
ServerName www.projectlovelace.net | |
## Default overrides | |
ServerSignature Off | |
ServerTokens Prod | |
Timeout 30 | |
<VirtualHost *:80> | |
WSGIDaemonProcess www.projectlovelace.net python-path=/usr/local/www/apache24/data/lovelace-website/src:/usr/local/www/apache24/data/lovelace-website/env/lib/python3.6/site-packages/ | |
WSGIProcessGroup www.projectlovelace.net | |
WSGIScriptAlias / /usr/local/www/apache24/data/lovelace-website/src/lovelace/wsgi.py | |
Alias /static /usr/local/www/apache24/data/lovelace-website/src/prod_static | |
<Directory /usr/local/www/apache24/data/lovelace-website/src/prod_static> | |
Require all granted | |
</Directory> | |
<Directory /usr/local/www/apache24/data/lovelace-website/src/lovelace> | |
<Files wsgi.py> | |
Require all granted | |
</Files> | |
</Directory> | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment