File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -23,14 +23,14 @@ server {
2323 listen {{ item.value.port }};
2424{% endif %}
2525 server_name {{ item.value.server_name }};
26- {% if item .value .autoindex %}
26+ {% if item .value .autoindex is defined and item . value . autoindex %}
2727 autoindex on;
2828{% endif %}
2929{% if item .value .load_balancer is defined %}
3030{% for location in item .value .load_balancer .locations %}
3131 location {{ item.value.load_balancer.locations[location] .location }} {
3232 proxy_pass http://{{ item.value.load_balancer.locations[location] .proxy_pass }};
33- {% if item .value .load_balancer .health_check_plus %}
33+ {% if item .value .load_balancer .health_check_plus is defined and item . value . load_balancer . health_check_plus %}
3434 health_check;
3535{% endif %}
3636 proxy_set_header Host $host;
You can’t perform that action at this time.
0 commit comments