Created
October 13, 2010 22:59
-
-
Save simonw/625129 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
# Apache conf (/etc/apache2/apache2.conf) | |
# | |
# Based on http://github.com/jacobian/django-deployment-workshop/ | |
# blob/master/apache/apache2.conf by Jacob Kaplan-Moss | |
# Basic server setup | |
# | |
ServerRoot "/etc/apache2" | |
PidFile ${APACHE_PID_FILE} | |
User ${APACHE_RUN_USER} | |
Group ${APACHE_RUN_GROUP} | |
ServerTokens ProductOnly | |
ServerAdmin apache@lanyrd.com | |
# Standalone server. | |
Listen *:8000 | |
KeepAlive Off | |
LoadModule mime_module /usr/lib/apache2/modules/mod_mime.so | |
LoadModule alias_module /usr/lib/apache2/modules/mod_alias.so | |
LoadModule wsgi_module /usr/lib/apache2/modules/mod_wsgi.so | |
LogFormat "%%h %%l %%u %%t \"%%r\" %%>s %%b \"%%{Referer}i\" \"%%{User-agent}i\"" combined | |
ErrorLog /var/log/apache2/error.log | |
CustomLog /var/log/apache2/access.log combined | |
# | |
# Default HTTP features | |
# | |
AddDefaultCharset utf-8 | |
DefaultType text/plain | |
TypesConfig /etc/mime.types | |
# | |
# Basic document root and directory perms. | |
# | |
<Directory /> | |
Options FollowSymLinks | |
AllowOverride None | |
</Directory> | |
DocumentRoot "/var/www" | |
# | |
# And finally the app config. | |
# | |
WSGIScriptAlias / "/srv/django-apps/lanyrd.com/current/lanyrd/configs/live/app.wsgi" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Pretty minimal; that's the entire conf for the app server?