|
@@ -4,7 +4,7 @@
|
|
|
auth_basic "Authorization required";
|
|
auth_basic "Authorization required";
|
|
|
auth_basic_user_file /data/access/{{ access_list_id }};
|
|
auth_basic_user_file /data/access/{{ access_list_id }};
|
|
|
|
|
|
|
|
- {% if access_list.pass_auth == 0 or access_list.pass_auth == true %}
|
|
|
|
|
|
|
+ {% if access_list.pass_auth == 0 or access_list.pass_auth == false %}
|
|
|
proxy_set_header Authorization "";
|
|
proxy_set_header Authorization "";
|
|
|
{% endif %}
|
|
{% endif %}
|
|
|
|
|
|