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 {
|
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 }};
|
||||||
|
|
Loading…
Reference in New Issue