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:
@@ -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>
|
||||
Reference in New Issue
Block a user