diff options
author | Marcello Coutinho <marcellocoutinho@gmail.com> | 2012-04-16 11:18:50 -0300 |
---|---|---|
committer | Marcello Coutinho <marcellocoutinho@gmail.com> | 2012-04-16 11:18:50 -0300 |
commit | 4edb9dc9c97827cf30f836068a6e8a7f8fc690ef (patch) | |
tree | 46365500014b901666e77b8f238218e0a1c8f903 /config/squid-reverse/squid.inc | |
parent | 0966f6a152bea646cdd89c6012bbaeef5533ce19 (diff) | |
download | pfsense-packages-4edb9dc9c97827cf30f836068a6e8a7f8fc690ef.tar.gz pfsense-packages-4edb9dc9c97827cf30f836068a6e8a7f8fc690ef.tar.bz2 pfsense-packages-4edb9dc9c97827cf30f836068a6e8a7f8fc690ef.zip |
squid3 - Fix patters typo
Diffstat (limited to 'config/squid-reverse/squid.inc')
-rw-r--r-- | config/squid-reverse/squid.inc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/config/squid-reverse/squid.inc b/config/squid-reverse/squid.inc index f4939201..3828476e 100644 --- a/config/squid-reverse/squid.inc +++ b/config/squid-reverse/squid.inc @@ -852,7 +852,7 @@ if(empty($settings['cache_dynamic_content'])){ $conf.="cache deny dynamic\n"; } else{ - if(preg_match('/youtube/',$settings['refresh_patters'])){ + if(preg_match('/youtube/',$settings['refresh_patterns'])){ $conf.=<<<EOC # Break HTTP standard for flash videos. Keep them in cache even if asked not to. refresh_pattern -i \.flv$ 10080 90% 999999 ignore-no-cache override-expire ignore-private @@ -863,7 +863,7 @@ cache allow youtube EOC; } - if(preg_match('/windows/',$settings['refresh_patters'])){ + if(preg_match('/windows/',$settings['refresh_patterns'])){ $conf.=<<<EOC range_offset_limit -1 refresh_pattern -i microsoft.com/.*\.(cab|exe|ms[i|u|f]|asf|wm[v|a]|dat|zip) 4320 80% 43200 reload-into-ims @@ -872,20 +872,20 @@ refresh_pattern -i my.windowsupdate.website.com/.*\.(cab|exe|ms[i|u|f]|asf|wm[v| EOC; } -if(preg_match('/symantec/',$settings['refresh_patters'])){ +if(preg_match('/symantec/',$settings['refresh_patterns'])){ $conf.=<<<EOC range_offset_limit -1 refresh_pattern liveupdate.symantecliveupdate.com/.*\.(cab|exe|dll|msi) 10080 100% 43200 reload-into-ims refresh_pattern symantecliveupdate.com/.*\.(cab|exe|dll|msi) 10080 100% 43200 reload-into-ims EOC; } -if(preg_match('/avast/',$settings['refresh_patters'])){ +if(preg_match('/avast/',$settings['refresh_patterns'])){ $conf.=<<<EOC range_offset_limit -1 refresh_pattern avast.com/.*\.(vpu|cab|stamp|exe) 10080 100% 43200 reload-into-ims EOC; } -if(preg_match('/avira/',$settings['refresh_patters'])){ +if(preg_match('/avira/',$settings['refresh_patterns'])){ $conf.=<<<EOC range_offset_limit -1 refresh_pattern personal.avira-update.com/.*\.(cab|exe|dll|msi|gz) 10080 100% 43200 reload-into-ims |