websites: Add role for pyrocufflink.net site

The *websites/pyrocufflink.net* role configures the public web server to
host *pyrocufflink.net*. This site has two functions:

* It redirects `/` to http://dustin.hatch.name/
* It proxies user home directories (i.e. /~dustin/) to the file server
This commit is contained in:
2019-01-04 20:41:55 -06:00
parent 87c63ae203
commit ed5f7108dc
5 changed files with 30 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
- name: ensure apache is configured to serve pyrocufflink.net site
template:
src=pyrocufflink.httpd.conf.j2
dest=/etc/httpd/conf.d/pyrocufflink.net.conf
mode=0644
notify: reload httpd