Make deploy search in config dir first.
[redakcja.git] / redakcja.vhost.template
1 <VirtualHost *:80>
2     ServerName $DOMAIN
3     ServerAlias $DOMAIN_ALIASES
4     ServerAdmin $ADMIN_EMAIL
5
6     WSGIDaemonProcess $PROJECT_NAME user=$WSGI_USER group=$WSGI_USER processes=$WSGI_PROCESSES threads=$WSGI_THREADS display-name=%{GROUP}
7     WSGIProcessGroup $PROJECT_NAME
8
9     WSGIScriptAlias / $WSGI_TARGET
10     <Directory $WSGI_DIR>
11         Order allow,deny
12         allow from all
13     </Directory>
14
15     Alias /media $MEDIA_ROOT
16     <Directory $MEDIA_ROOT >
17         Order allow,deny
18         Allow from all
19     </Directory>
20
21     LogLevel warn
22     ErrorLog /var/log/apache2/$PROJECT_NAME/error.log
23     CustomLog /var/log/apache2/$PROJECT_NAME/access.log combined
24 </VirtualHost>