mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
proxy.cgi: Add option to add own configuration settings.
This commit is contained in:
@@ -3930,6 +3930,11 @@ END
|
|||||||
print FILE "url_rewrite_program /usr/sbin/redirect_wrapper\n";
|
print FILE "url_rewrite_program /usr/sbin/redirect_wrapper\n";
|
||||||
print FILE "url_rewrite_children $proxysettings{'CHILDREN'}\n\n";
|
print FILE "url_rewrite_children $proxysettings{'CHILDREN'}\n\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Include file with user defined settings.
|
||||||
|
if (-e "/etc/squid/squid.conf.local") {
|
||||||
|
print FILE "include /etc/squid/squid.conf.local\n";
|
||||||
|
}
|
||||||
close FILE;
|
close FILE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user