diff --git a/playbooks/proxy.yml b/playbooks/proxy.yml index c5e789d..f874f5c 100644 --- a/playbooks/proxy.yml +++ b/playbooks/proxy.yml @@ -56,7 +56,7 @@ - role: nginx/site site: www.foo.sh - - tasks: + tasks: - name: create extra nginx config directories file: path: /etc/nginx/conf.d/www.foo.sh @@ -67,7 +67,7 @@ - name: install redirects config copy: dest: /etc/nginx/conf.d/www.foo.sh/redirects.conf - src: | + content: | location /collab/ { return 301 https://collab.foo.sh/; } mode: 0644 owner: root