diff options
author | Marcello Coutinho <marcellocoutinho@gmail.com> | 2012-09-05 11:48:59 -0300 |
---|---|---|
committer | Marcello Coutinho <marcellocoutinho@gmail.com> | 2012-09-05 11:48:59 -0300 |
commit | 4c831fa13616e99b6356db302e0088b95d4cb341 (patch) | |
tree | cae191450c988f4ea01e4fee16497a0fda8b509a /config/squid-reverse/squid.inc | |
parent | 08f323cc1d5fa1238d1a55a6a96c9767a46d82bb (diff) | |
download | pfsense-packages-4c831fa13616e99b6356db302e0088b95d4cb341.tar.gz pfsense-packages-4c831fa13616e99b6356db302e0088b95d4cb341.tar.bz2 pfsense-packages-4c831fa13616e99b6356db302e0088b95d4cb341.zip |
squid3 - include dns_v4_first options that fixes https connection errors on squid3
Diffstat (limited to 'config/squid-reverse/squid.inc')
-rw-r--r-- | config/squid-reverse/squid.inc | 20 |
1 files changed, 10 insertions, 10 deletions
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 .= <<<EOD -icp_port $icp_port - -pid_filename $pidfile +icp_port {$icp_port} +dns_v4_first {$dns_v4_first} +pid_filename {$pidfile} cache_effective_user proxy cache_effective_group proxy -error_default_language $language -icon_directory $icondir -visible_hostname $hostname -cache_mgr $email -access_log $logdir_access -cache_log $logdir_cache +error_default_language {$language} +icon_directory {$icondir} +visible_hostname {$hostname} +cache_mgr {$email} +access_log {$logdir_access} +cache_log {$logdir_cache} cache_store_log none sslcrtd_children 0 |