diff options
author | Christian Pointner <equinox@spreadspace.org> | 2024-04-03 00:40:34 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2024-04-03 00:40:34 +0200 |
commit | b06f3f5d788237e574f359356fce6c91e33b5404 (patch) | |
tree | 720e4e81b9a5b83556dde42917e4b65621a36201 /roles/nginx/vhost/templates/no-tls.conf.j2 | |
parent | vm/host/network: make vlan interface ordering stable (diff) |
nginx/vhost: fix string concat issue incase nginx_vhost.name is not a string
Diffstat (limited to 'roles/nginx/vhost/templates/no-tls.conf.j2')
-rw-r--r-- | roles/nginx/vhost/templates/no-tls.conf.j2 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/nginx/vhost/templates/no-tls.conf.j2 b/roles/nginx/vhost/templates/no-tls.conf.j2 index 29a62c8a..ddb2f229 100644 --- a/roles/nginx/vhost/templates/no-tls.conf.j2 +++ b/roles/nginx/vhost/templates/no-tls.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') }}; {% include 'includes/body.j2' %} } |