websites: Add role for dustin.hatch.name

The *websites/dustin.hatch.name* role configures a server to host
http://dustin.hatch.name/. The role only applies basic configuration;
the actual website application is published by Jenkins.
This commit is contained in:
2018-07-29 09:32:19 -05:00
parent 4a5d319a17
commit 3d46e6b411
3 changed files with 81 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
# 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>