Commit 38d8b761 authored by Ad Schellevis's avatar Ad Schellevis Committed by GitHub

Merge pull request #1560 from evbevz/squid_auth_reorder

squid.conf: reorder pre-auth plugins and local auth settings
parents 85e843f2 07c26842
...@@ -270,14 +270,14 @@ icap_service request_mod reqmod_precache {{OPNsense.proxy.forward.icap.RequestUR ...@@ -270,14 +270,14 @@ icap_service request_mod reqmod_precache {{OPNsense.proxy.forward.icap.RequestUR
icap_enable off icap_enable off
{% endif %} {% endif %}
# Pre-auth plugins
include /usr/local/etc/squid/pre-auth/*.conf
# Authentication Settings # Authentication Settings
{% if helpers.exists('OPNsense.proxy.forward.authentication.method') and OPNsense.proxy.forward.authentication.method != '' %} {% 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'] %} {% include ['OPNsense/Proxy/squid.user.alt_auth.conf', 'OPNsense/Proxy/squid.user.local_auth.conf'] %}
{% endif %} {% endif %}
# Pre-auth plugins
include /usr/local/etc/squid/pre-auth/*.conf
{% include "OPNsense/Proxy/squid.acl.conf" ignore missing with context %} {% include "OPNsense/Proxy/squid.acl.conf" ignore missing with context %}
# Post-auth plugins # 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