Skip to content

Commit a3b7c21

Browse files
committed
fix logic for maintenance
1 parent 90faafe commit a3b7c21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/site.conf.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ server {
108108
index index.html;
109109
}
110110
{%- endif %}
111-
{%- if UPSTREAMS and not (MAINTENANCE and MAINTENANCE == 'true') %}
111+
{%- if UPSTREAMS and MAINTENANCE != 'true' %}
112112
{%- for upstream in UPSTREAMS.split(',') %}
113113
{% set upstream_parts = upstream.split(':') %}
114114
location {{ upstream_parts[0] }} {

0 commit comments

Comments
 (0)