Commit 230ec191 authored by evbevz's avatar evbevz Committed by Franco Fichtner

squid.conf: reorder pre-auth plugins and local auth settings

(cherry picked from commit 07c26842)
parent db8c7c34
......@@ -269,14 +269,14 @@ icap_service request_mod reqmod_precache {{OPNsense.proxy.forward.icap.RequestUR
icap_enable off
{% endif %}
# Pre-auth plugins
include /usr/local/etc/squid/pre-auth/*.conf
# Authentication Settings
{% if helpers.exists('OPNsense.proxy.forward.authentication.method') and OPNsense.proxy.forward.authentication.method != '' %}
{% include ['OPNsense/Proxy/squid.user.alt_auth.conf', 'OPNsense/Proxy/squid.user.local_auth.conf'] %}
{% endif %}
# Pre-auth plugins
include /usr/local/etc/squid/pre-auth/*.conf
{% include "OPNsense/Proxy/squid.acl.conf" ignore missing with context %}
# Post-auth plugins
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment