Merge pull request #4894 from eduardpaul/feat-fix-pass_auth-template

Update _access.conf to fix access_list.pass_auth logic
This commit is contained in:
jc21
2025-11-11 15:23:22 +10:00
committed by GitHub

View File

@@ -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 %}