From 66f2565c513acf418492a74687de23840bd62d0f Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Wed, 16 May 2018 18:27:27 +0200 Subject: [PATCH] Fix a typo into the nginx default template. --- nginx/templates/nginx-virthost.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nginx/templates/nginx-virthost.j2 b/nginx/templates/nginx-virthost.j2 index 5c3b0c77..99448da1 100644 --- a/nginx/templates/nginx-virthost.j2 +++ b/nginx/templates/nginx-virthost.j2 @@ -1,5 +1,5 @@ server { - listen {{ item.http_port | default (80) }}; + listen {{ item.http_port | default ('80') }}; server_name {{ item.server_name }} {% if item.serveraliases is defined %}{{ item.serveraliases }}{% endif %}; location ~ /\.(?!well-known).* { deny all; @@ -129,7 +129,7 @@ server { {% if item.ssl_enabled %} server { - listen {{ https_port | default(443) }} {{ nginx_ssl_type }}; + listen {{ https_port | default('443') }} {{ nginx_ssl_type }}; server_name {{ item.server_name }} {% if item.serveraliases is defined %}{{ item.serveraliases }}{% endif %}; {% if item.access_log is defined %} access_log {{ item.access_log }};