r/squid: Support configuring auth_param

The `auth_param` directive is used to configure proxy authentication
helpers.
frigate-exporter
Dustin 2024-08-14 20:12:41 -05:00
parent 9ae88a5f36
commit 0ec9401c6e
1 changed files with 8 additions and 0 deletions

View File

@ -1,4 +1,12 @@
cache_log {{ squid_cache_log }}
{% if squid_auth_param|d %}
{% for scheme in squid_auth_param %}
{% for key, value in squid_auth_param[scheme].items() %}
auth_param {{ scheme }} {{ key }} {{ value }}
{% endfor %}
{% endfor %}
{% endif %}
{% if squid_acl is not defined %}
#
# Recommended minimum configuration: