Created
April 17, 2014 12:45
-
-
Save tkrajina/10980603 to your computer and use it in GitHub Desktop.
Minimal apache mod_wsgi config
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 *:80> | |
ServerName mysite.com | |
#ServerAlias ... | |
ServerAdmin [email protected] | |
DocumentRoot .../projects/mysite | |
#Alias /robots.txt .../projects/qreminder-on-email/static/robots.txt | |
#Alias /favicon.ico .../projects/qreminder-on-email/static/favicon.ico | |
#Alias /media/ .../projects/qreminder-on-email/static/media/ | |
WSGIDaemonProcess mysite processes=1 threads=15 display-name=%{GROUP} | |
WSGIProcessGroup mysite | |
WSGIScriptAlias / .../projects/mysite/mysite/wsgi.py | |
ErrorLog /var/log/apache2/mysite_error.log | |
# Possible values include: debug, info, notice, warn, error, crit, alert, emerg. | |
LogLevel warn | |
CustomLog /var/log/apache2/mysite_access.log combined | |
Alias /static .../projects/mysite/web/static | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment