configpolicy/roles/websites/dustin.hatch.name/files/dustin.hatch.name.httpd.conf

21 lines
411 B
ApacheConf

# vim: set ft=apache :
WSGIDaemonProcess dchwww \
user=webapp.dchwww \
group=webapp.dchwww \
python-home=/srv/www/dustin.hatch.name/venv \
display-name=%{GROUP}
<VirtualHost *:80>
ServerName dustin.hatch.name
WSGIScriptAlias / /srv/www/dustin.hatch.name/site.py \
process-group=dchwww
Alias /static /srv/www/dustin.hatch.name/static
<Location />
Require all granted
</Location>
</VirtualHost>