diff --git a/defaults/main.yml b/defaults/main.yml index 1f715b4..1f9b464 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -118,14 +118,14 @@ nginx_ssl_crt_upload_dest: /etc/ssl/certs/ nginx_ssl_key_upload_src: ssl/*.key nginx_ssl_key_upload_dest: /etc/ssl/private/ -# Enable crating dynamic templated NGINX HTMK demo websites. +# Enable creating dynamic templated NGINX HTML demo websites. nginx_html_demo_template_enable: false nginx_html_demo_template: default: template_file: www/index.html.j2 html_file_name: index.html html_file_location: /usr/share/nginx/html - app_name: default + html_app_name: Default # Enable creating dynamic templated NGINX configuration files. # Defaults are the values found in a fresh NGINX installation. diff --git a/templates/www/index.html.j2 b/templates/www/index.html.j2 index 4e92ddf..c6ddd67 100644 --- a/templates/www/index.html.j2 +++ b/templates/www/index.html.j2 @@ -1,7 +1,7 @@ -Hello World - App {{ item.value.name }} +Hello World - {{ item.value.app_name }} App