diff --git a/README.md b/README.md index 980adbb..ca4975c 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Droid Module: droid/nginx +# Droid Module: nginx Setup NGINX as a load balancing, SSL terminating reverse proxy. For more information on Droid, please see [droidphp.com](http://droidphp.com). diff --git a/droid.yml b/droid.yml index 835067e..0896e59 100644 --- a/droid.yml +++ b/droid.yml @@ -1,9 +1,7 @@ ---- -project: - name: "droid/nginx" - description: "Setup NGINX" +description: "Setup NGINX" variables: + use_legacy_templating: true nginx: worker_processes: "4" error_log: "/var/log/nginx/error.log warn" @@ -95,7 +93,7 @@ tasks: src: "!{{ item.auth_cacert }}" dest: "/etc/ssl/certs/{{ item.name }}.cacert.pem" with_items: nginx_vhosts - with_items_filter: "item['auth_cacert']" + with_items_filter: "'auth_cacert' in item" - name: "Copy HTTPS private key" command: "fs:copy" @@ -104,7 +102,7 @@ tasks: src: "!{{ item.https_private_key }}" dest: "/etc/ssl/private/{{ item.name }}.key" with_items: nginx_vhosts - with_items_filter: "item['https_private_key']" + with_items_filter: "'https_private_key' in item" - name: "Copy HTTPS certificate" command: "fs:copy" @@ -113,7 +111,7 @@ tasks: src: "!{{ item.https_certificate }}" dest: "/etc/ssl/certs/{{ item.name }}.crt.pem" with_items: nginx_vhosts - with_items_filter: "item['https_certificate']" + with_items_filter: "'https_certificate' in item" - name: "Create vhosts" command: "fs:copy"