ServerName $DOMAIN
ServerAlias $DOMAIN_ALIASES
ServerAdmin $ADMIN_EMAIL
Alias /robots.txt $MEDIA_ROOT/static/robots.txt
Alias /favicon.ico $MEDIA_ROOT/static/favicon.ico
Alias /media/ $MEDIA_ROOT
#
# Logs
LogLevel info
#
# WSGI configuration follows
#
WSGIDaemonProcess $PROJECT_NAME processes=2 threads=1 user=$WSGI_USER group=$WSGI_USER display-name=%{GROUP}
WSGIProcessGroup $PROJECT_NAME
WSGIScriptAlias / $WSGI_TARGET
Order allow,deny
Allow from all
# Insert filter
SetOutputFilter DEFLATE
# Don't compress images
SetEnvIfNoCase Request_URI \
\.(?:xsl|xml|json|gif|jpe?g|png)$ no-gzip dont-vary
Order allow,deny
Allow from all
#
# Header unset ETag
# FileETag None
# ExpiresActive On
# ExpiresDefault "now plus 1 year"
#