Created
January 28, 2016 18:09
-
-
Save saml/de2d5d8d9e1244503d20 to your computer and use it in GitHub Desktop.
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 *:8082> | |
ServerAdmin [email protected] | |
DocumentRoot /opt/myapp | |
ServerName admin.example.com | |
# LogLevel warn | |
LogLevel debug | |
ErrorLog "|/usr/local/apache-python/bin/rotatelogs /usr/local/apache-python/logs/error_log.%Y-%m-%d-%H_%M_%S 86400" | |
CustomLog "|/usr/local/apache-python/bin/rotatelogs /usr/local/apache-python/logs/access_log.%Y-%m-%d-%H_%M_%S 86400" combined | |
WSGIScriptAlias / /opt/myapp/wsgi.production | |
WSGIDaemonProcess myapp threads=15 maximum-requests=10000 | |
WSGIProcessGroup myapp | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment