r/squid: Support configuring auth_param
The `auth_param` directive is used to configure proxy authentication helpers.
This commit is contained in:
@@ -1,4 +1,12 @@
|
|||||||
cache_log {{ squid_cache_log }}
|
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 %}
|
{% if squid_acl is not defined %}
|
||||||
#
|
#
|
||||||
# Recommended minimum configuration:
|
# Recommended minimum configuration:
|
||||||
|
|||||||
Reference in New Issue
Block a user