From 4c831fa13616e99b6356db302e0088b95d4cb341 Mon Sep 17 00:00:00 2001 From: Marcello Coutinho Date: Wed, 5 Sep 2012 11:48:59 -0300 Subject: squid3 - include dns_v4_first options that fixes https connection errors on squid3 --- config/squid-reverse/squid.inc | 20 ++++++++++---------- config/squid-reverse/squid.xml | 8 +++++++- 2 files changed, 17 insertions(+), 11 deletions(-) (limited to 'config') diff --git a/config/squid-reverse/squid.inc b/config/squid-reverse/squid.inc index d8b71a58..b88de284 100644 --- a/config/squid-reverse/squid.inc +++ b/config/squid-reverse/squid.inc @@ -771,7 +771,7 @@ function squid_resync_general() { $conf .= "http_port 127.0.0.1:" . $settings['proxy_port'] . " intercept\n"; } $icp_port = ($settings['icp_port'] ? $settings['icp_port'] : 7); - + $dns_v4_first= ($settings['dns_v4_first'] == "on" ? "on" : "off" ); $pidfile = "{$g['varrun_path']}/squid.pid"; $language = ($settings['error_language'] ? $settings['error_language'] : 'en'); $icondir = SQUID_CONFBASE . '/icons'; @@ -787,17 +787,17 @@ function squid_resync_general() { $logdir_access = ($settings['log_enabled'] == 'on' ? $logdir . '/access.log' : '/dev/null'); $conf .= <<checkbox - Bypass proxy for Private Address Space (RFC 1918) destination + Bypass proxy for Private Address destination private_subnet_proxy_off Do not forward traffic to Private Address Space (RFC 1918) <b>destination</b> through the proxy server but directly through the firewall. checkbox @@ -290,6 +290,12 @@ input 70 + + Resolv dns v4 first + dns_v4_first + + checkbox + Use alternate DNS-servers for the proxy-server dns_nameservers -- cgit v1.2.3