roles/nginx/forward: Changed var name "destination" to "dest"

wip
Felix Stupp 6 years ago
parent c5a170bf2e
commit ec59a31dea
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -1,4 +1,4 @@
---
domain: example.com
destination: example.com
dest: example.com

@ -1,6 +1,6 @@
---
- name: Enable forwarding {{ domain }} to {{ destination }}
- name: Enable forwarding {{ domain }} to {{ dest }}
template:
src: forwarding.conf
dest: "{{ nginx_sites_directory }}/{{ domain }}"

@ -10,5 +10,5 @@ server {
include {{ nginx_snippets_directory }}/https;
include {{ nginx_snippets_directory }}/global;
redirect 301 https://{{ destination }}$request_uri;
redirect 301 https://{{ dest }}$request_uri;
}

Loading…
Cancel
Save