Commit 1172382e authored by Ad Schellevis's avatar Ad Schellevis Committed by GitHub

Merge pull request #1328 from evbevz/squid-plugins

Squid plugins
parents e802122f 6b14bb27
...@@ -4,3 +4,6 @@ newsyslog.conf:/etc/newsyslog.conf.d/squid ...@@ -4,3 +4,6 @@ newsyslog.conf:/etc/newsyslog.conf.d/squid
externalACLs.conf:/usr/local/etc/squid/externalACLs.conf externalACLs.conf:/usr/local/etc/squid/externalACLs.conf
nobumpsites.acl:/usr/local/etc/squid/nobumpsites.acl nobumpsites.acl:/usr/local/etc/squid/nobumpsites.acl
ca.pem.id:/usr/local/etc/squid/ca.pem.id ca.pem.id:/usr/local/etc/squid/ca.pem.id
pre-auth.conf:/usr/local/etc/squid/pre-auth/dummy.conf
auth.conf:/usr/local/etc/squid/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 auth config files
# 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
...@@ -116,6 +116,9 @@ adaptation_access request_mod deny to_localhost ...@@ -116,6 +116,9 @@ adaptation_access request_mod deny to_localhost
{% endif %} {% endif %}
http_access deny to_localhost http_access deny to_localhost
# Auth plugins
include /usr/local/etc/squid/auth/*.conf
# #
# Access Permission configuration: # Access Permission configuration:
# #
......
...@@ -259,10 +259,14 @@ icap_enable off ...@@ -259,10 +259,14 @@ icap_enable off
{% 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.user.pre_auth.conf" ignore missing with context %} {% include "OPNsense/Proxy/squid.user.pre_auth.conf" ignore missing with context %}
{% include "OPNsense/Proxy/squid.acl.conf" ignore missing with context %} {% include "OPNsense/Proxy/squid.acl.conf" ignore missing with context %}
# Post-auth plugins
include /usr/local/etc/squid/post-auth/*.conf
{% include "OPNsense/Proxy/squid.user.post_auth.conf" ignore missing with context %} {% include "OPNsense/Proxy/squid.user.post_auth.conf" ignore missing with context %}
# Caching settings # Caching settings
......
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