mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-19 07:23:03 +02:00
squid: Include /etc/squid/squid.conf.pre.local.
This configuration file is included _before_ the default IPFire configuration.
This commit is contained in:
@@ -3061,6 +3061,12 @@ icp_port 0
|
||||
|
||||
END
|
||||
;
|
||||
|
||||
# Include file with user defined settings.
|
||||
if (-e "/etc/squid/squid.conf.pre.local") {
|
||||
print FILE "include /etc/squid/squid.conf.pre.local\n\n";
|
||||
}
|
||||
|
||||
print FILE "http_port $netsettings{'GREEN_ADDRESS'}:$proxysettings{'PROXY_PORT'}";
|
||||
if ($proxysettings{'TRANSPARENT'} eq 'on') { print FILE " transparent" }
|
||||
if ($proxysettings{'NO_CONNECTION_AUTH'} eq 'on') { print FILE " no-connection-auth" }
|
||||
|
||||
Reference in New Issue
Block a user