Commit 2dac5fd2 authored by bevz's avatar bevz

Squid plugins

parent fe5eb31a
......@@ -4,3 +4,5 @@ newsyslog.conf:/etc/newsyslog.conf.d/squid
externalACLs.conf:/usr/local/etc/squid/externalACLs.conf
nobumpsites.acl:/usr/local/etc/squid/nobumpsites.acl
ca.pem.id:/usr/local/etc/squid/ca.pem.id
pre-auth.conf:/usr/local/etc/squid/pre-auth/dummy.conf
post-auth.conf:/usr/local/etc/squid/post-auth/dummy.conf
# AUTOGENERATED FILE. DO NOT EDIT.
# DO NOT REMOVE THIS FILE!
# This directory is for post-auth config files
# AUTOGENERATED FILE. DO NOT EDIT.
# DO NOT REMOVE THIS FILE!
# This directory is for pre-auth config files
......@@ -253,11 +253,17 @@ 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 %}
# Post-auth plugins
include /usr/local/etc/squid/post-auth/*.conf
{% include "OPNsense/Proxy/squid.user.pre_auth.conf" ignore missing with context %}
{% include "OPNsense/Proxy/squid.acl.conf" ignore missing with context %}
......
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