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
7 lines
200 B
YAML
7 lines
200 B
YAML
- 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
|