Fix a typo into the nginx default template.

This commit is contained in:
Andrea Dell'Amico 2018-05-16 18:27:27 +02:00
parent df69466a63
commit 66f2565c51
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
server { 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 %}; server_name {{ item.server_name }} {% if item.serveraliases is defined %}{{ item.serveraliases }}{% endif %};
location ~ /\.(?!well-known).* { location ~ /\.(?!well-known).* {
deny all; deny all;
@ -129,7 +129,7 @@ server {
{% if item.ssl_enabled %} {% if item.ssl_enabled %}
server { 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 %}; server_name {{ item.server_name }} {% if item.serveraliases is defined %}{{ item.serveraliases }}{% endif %};
{% if item.access_log is defined %} {% if item.access_log is defined %}
access_log {{ item.access_log }}; access_log {{ item.access_log }};