forked from ISTI-ansible-roles/ansible-roles
Fix a typo into the nginx default template.
This commit is contained in:
parent
df69466a63
commit
66f2565c51
|
@ -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 }};
|
||||
|
|
Loading…
Reference in New Issue