summaryrefslogtreecommitdiff
path: root/roles/nginx/vhost/templates/tls-only.conf.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/nginx/vhost/templates/tls-only.conf.j2')
-rw-r--r--roles/nginx/vhost/templates/tls-only.conf.j24
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/nginx/vhost/templates/tls-only.conf.j2 b/roles/nginx/vhost/templates/tls-only.conf.j2
index 05820d96..27ef51cb 100644
--- a/roles/nginx/vhost/templates/tls-only.conf.j2
+++ b/roles/nginx/vhost/templates/tls-only.conf.j2
@@ -4,8 +4,8 @@ server {
{% endfor %}
server_name {{ nginx_vhost.hostnames | default(['_']) | join(' ') }};
- access_log {{ nginx_vhost.logs.access | default('/var/log/nginx/' + nginx_vhost.name + '_access.log') }};
- error_log {{ nginx_vhost.logs.error | default('/var/log/nginx/' + nginx_vhost.name + '_error.log') }};
+ access_log {{ nginx_vhost.logs.access | default('/var/log/nginx/' ~ nginx_vhost.name ~ '_access.log') }};
+ error_log {{ nginx_vhost.logs.error | default('/var/log/nginx/' ~ nginx_vhost.name ~ '_error.log') }};
{% if nginx_vhost.tls.certificate_provider == 'acmetool' or nginx_vhost.tls.certificate_provider == 'uacme' %}
include snippets/{{ nginx_vhost.tls.certificate_provider }}.conf;