diff --git a/tasks/configure.yml b/tasks/configure.yml index 732e433..ecec942 100644 --- a/tasks/configure.yml +++ b/tasks/configure.yml @@ -18,7 +18,7 @@ mode: 0644 loop: - add_headers.conf - - letsentcrypt.conf + - letsencrypt.conf notify: reload nginx - name: "Configuration | Copy configuration templates" @@ -31,7 +31,7 @@ - reverse_proxy.conf - ssl.conf notify: reload nginx - when: nginx_type is 'gateway' or nginx_type is 'standalone' + when: nginx_type == 'gateway' or nginx_type == 'standalone' - name: "Configuration | Copy request limit configuration" ansible.builtin.copy: @@ -39,4 +39,4 @@ dest: /etc/nginx/conf.d/ mode: 0644 notify: reload nginx - when: nginx_type is 'gateway' or nginx_type is 'standalone' + when: nginx_type == 'gateway' or nginx_type == 'standalone' diff --git a/templates/revers2_proxy.conf.j2 b/templates/reverse_proxy.conf.j2 similarity index 100% rename from templates/revers2_proxy.conf.j2 rename to templates/reverse_proxy.conf.j2