Advertisement
ujiajah1

squid.con-3.5

Feb 2nd, 2016
252
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.38 KB | None | 0 0
  1. # SQUID CONFIGURATION SQUID VERSION-3.5.xx
  2. # HTTP | HTTPS SQUID PROXY SERVER
  3.  
  4. acl all src
  5. acl SSL_ports port 443
  6. acl SSL_ports port 5353
  7. acl Safe_ports port 21
  8. acl Safe_ports port 22
  9. acl Safe_ports port 53
  10. acl Safe_ports port 70
  11. acl Safe_ports port 80
  12. acl Safe_ports port 210
  13. acl Safe_ports port 280
  14. acl Safe_ports port 1025-65535
  15. acl Safe_ports port 443
  16. acl Safe_ports port 488
  17. acl Safe_ports port 591
  18. acl Safe_ports port 777
  19. acl Safe_ports port 5353
  20. acl Safe_ports port 18901-18909
  21. acl Safe_ports port 1818
  22. acl Safe_ports port 39190
  23. acl Safe_ports port 40000-40010
  24. acl Safe_ports port 7777
  25. acl Safe_ports port 19101
  26. acl Safe_ports port 27780
  27. acl Safe_ports port 29000
  28. acl Safe_ports port 22100
  29. acl Safe_ports port 5121
  30. acl Safe_ports port 6000-6152
  31. acl Safe_ports port 2001
  32. acl Safe_ports port 9601-9602
  33. acl Safe_ports port 8085
  34. acl Safe_ports port 11011-11041
  35. acl Safe_ports port 13413
  36. acl Safe_ports port 19000
  37. acl Safe_ports port 5105
  38. acl Safe_ports port 10009
  39. acl Safe_ports port 12060-12070
  40. acl Safe_ports port 6000-6001
  41. acl Safe_ports port 29200
  42. acl Safe_ports port 10402
  43. acl Safe_ports port 9600
  44. acl Safe_ports port 15002
  45. acl Safe_ports port 16402-16502
  46. acl Safe_ports port 5126
  47. acl Safe_ports port 3010
  48. acl Safe_ports port 11031
  49. acl Safe_ports port 11440-11460
  50. acl Safe_ports port 11100-11125
  51. acl Safe_ports port 4300
  52. acl Safe_ports port 12011
  53. acl Safe_ports port 12110
  54. acl Safe_ports port 15001
  55. acl Safe_ports port 15002
  56. acl Safe_ports port 7341
  57. acl Safe_ports port 7451
  58. acl Safe_ports port 7808
  59. acl Safe_ports port 30000
  60. acl Safe_ports port 9001
  61. acl Safe_ports port 9030
  62. acl Safe_ports port 953
  63. acl Safe_ports port 42051-42052
  64. acl Safe_ports port 36567
  65. acl Safe_ports port 8001
  66. acl Safe_ports port 14000-14050
  67. acl Safe_ports port 27019
  68. acl Safe_ports port 28901-28920
  69. acl Safe_ports port 7201-7208
  70. acl Safe_ports port 17001-17002
  71. acl Safe_ports port 14300-14440
  72. acl Safe_ports port 15100-15150
  73. acl Safe_ports port 7770-7790
  74. acl Safe_ports port 16320-16340
  75. acl Safe_ports port 9000-9160
  76. acl Safe_ports port 7200
  77. acl Safe_ports port 7400
  78. acl Safe_ports port 7106
  79. acl Safe_ports port 7999
  80. acl Safe_ports port 47611
  81. acl Safe_ports port 36567
  82. acl Safe_ports port 10087
  83. acl Safe_ports port 27000-27050
  84. acl Safe_ports port 27014-27050
  85. acl Safe_ports port 4380
  86. acl Safe_ports port 3478
  87. acl Safe_ports port 4379
  88. acl Safe_ports port 8890
  89. acl Safe_ports port 9339
  90. acl Safe_ports port 8890
  91. acl Safe_ports port 7200-7210
  92. acl Safe_ports port 7450-7460
  93. acl Safe_ports port 8000
  94. acl Safe_ports port 64990-65010
  95. acl CONNECT method CONNECT
  96. # -------------------------------------------------------------------------------------------------
  97. # =======================================================================
  98. # Lock_resol 240-360
  99. # =======================================================================
  100. acl youtube_240 dstdomain .youtube.com
  101. request_header_access Accept-Encoding deny youtube_240
  102. loadable_modules /usr/local/lib/DSI_ecap_youtube.so
  103. ecap_enable on
  104. ecap_service ecapModifier respmod_precache \
  105. uri=ecap://dokter-squid.com/ecap yt_quality=medium
  106. adaptation_access ecapModifier allow youtube_240
  107. adaptation_access ecapModifier deny all
  108.  
  109. loadable_modules /usr/local/lib/ecap_adapter_modifying.so
  110. ecap_enable on
  111. ecap_service ecapModifier respmod_precache \
  112. uri=ecap://e-cap.org/ecap/services/sample/modifying \
  113. victim=the \
  114. replacement=a
  115. adaptation_access ecapModifier allow all
  116.  
  117. request_header_access Accept-Encoding deny all
  118.  
  119. ecap_enable on
  120. ecap_service ecapModifier respmod_precache \
  121. uri=ecap://youth.co.cc/my-injection.html \
  122. victim=</html> \
  123. replacement-src=http://youth.co.cc/my-injection.html
  124. adaptation_access ecapModifier allow all
  125.  
  126. #Deny Access
  127. acl deny_domain dstdomain .windowsupdate.com .dl.ws.microsoft.com
  128. acl deny_domain dstdomain .googlesyndication.com .doubleclick.net .beritavideo.info
  129. http_access deny deny_domain
  130.  
  131. #deny_url
  132. #--------------------------------------------------------------------------------------------
  133. acl deny_url url_regex -i ^https?:\/\/cache\.pack\.google\.com\/edgedl\/.*\.(exe|crx|msi)$
  134. acl deny_url url_regex -i ^https?:\/\/.*\.c\.pack\.google\.com\/edgedl\/.*\.(exe|crx|msi)\?
  135. acl deny_url url_regex -i (.*)\.*\/\/.*airdownload.adobe.com(.*)\/s?.*
  136. http_access deny deny_url
  137. http_reply_access deny deny_url
  138. #-------------------------------------------------------------
  139. acl deny_cache url_regex -i ^https?.*(mdn.net\/instream|googleapis.com|doubleclick.net)\/.*\/adsapi.*\.swf$
  140. cache deny deny_cache
  141.  
  142. # =========================================================================
  143. # xigncode PB_Garena
  144. # =========================================================================
  145. acl xigncode url_regex -i ^http.*xigncode.*
  146. store_miss deny xigncode
  147. send_hit deny xigncode
  148. # ==========================================================================
  149. # config_GAME
  150. # ==========================================================================
  151. # dota2
  152. acl dota2 url_regex -i \.steampowered\.com/(.*)
  153. acl dota2 url_regex -i \.edgesuite\.net/(.*)
  154.  
  155. # PARTIAL GARENA
  156. acl partial_garena url_regex -i .*\.garenanow.com\/.*\.(dll|xml|exe|version|jpg|png|bmp)$
  157. acl partial_garena url_regex -i .*\.cdn.starhub.com\/.*\.exe?.*
  158. refresh_pattern -i .*edge.cdn.starhub.com\/.* 1440 40% 14400 override-expire override-lastmod ignore-no-cache ignore-private reload-into-ims ignore-must-revalidate ignore-reload store-stale
  159. refresh_pattern -i .*cdn.garenanow.com\/.* 1440 40% 14400 override-expire override-lastmod ignore-no-cache ignore-private reload-into-ims ignore-must-revalidate ignore-reload store-stale
  160. refresh_pattern -i ^http:\/\/.*\.(garenanow|starhub)\.com\/.*\.(dll|php|version|xml|js)$ 0 0% 0
  161. refresh_pattern -i ^http:\/\/.*\.garenanow\.com\/.*\/(app|ui)$ 0 0% 0
  162.  
  163. # partial206 coba²
  164. acl rolpartial url_regex -i ^http.*garena.*patcher.*\?.*
  165. acl rolpartial url_regex -i ^https?\:\/\/patch\.gemscool\.com\/th\/patch\/.*
  166. acl rolpartial url_regex -i ^https?\:\/\/update\.netmarble\.co\.id\/Elsword\/Patch/.*
  167. #=============================================================================
  168. #=============================================================================
  169. # ACCESS RULES
  170. http_access deny !Safe_ports
  171. http_access deny CONNECT !SSL_ports
  172. http_access allow all
  173. http_reply_access allow all
  174.  
  175. # LISTENING PORT SQUID
  176. https_port 3127 tproxy ssl-bump generate-host-certificates=on dynamic_cert_mem_cache_size=4MB cert=/etc/squid/ssl_certs/squid.crt key=/etc/squid/ssl_certs/squid.key cipher=ECDHE-RSA-RC4-SHA:ECDHE-RSA-AES128-SHA:DHE-RSA-AES128-SHA:DHE-RSA-CAMELLIA128-SHA:AES128-SHA:RC4-SHA:HIGH:!aNULL:!MD5:!ADH
  177. http_port 3128
  178. http_port 3129 tproxy
  179.  
  180. # CONNECTION HANDLING
  181. qos_flows local-hit=0x30
  182. qos_flows sibling-hit=0x20
  183. qos_flows parent-hit=0x20
  184. collapsed_forwarding on
  185. balance_on_multiple_ip on
  186. detect_broken_pconn on
  187. client_persistent_connections off
  188. server_persistent_connections on
  189.  
  190. # DNS OPTIONS
  191. #dns_packet_max 4096
  192. dns_defnames on
  193. dns_v4_first on
  194. dns_nameservers 127.0.0.1
  195. connect_retries 2
  196. negative_dns_ttl 1 second
  197. range_offset_limit none rolpartial
  198. range_offset_limit 1 KB !rolpartial
  199. range_offset_limit 0
  200. quick_abort_min 0
  201. quick_abort_max 0
  202. quick_abort_pct 80
  203. ipcache_low 98
  204. ipcache_high 99
  205. ipcache_size 2048
  206. fqdncache_size 1024
  207. pipeline_prefetch 0
  208.  
  209. # MISCELEANOUS
  210. memory_pools off
  211. reload_into_ims on
  212. max_filedescriptors 65536
  213.  
  214. # CACHE MANAGEMENT
  215. cache_mem 256 MB
  216. maximum_object_size_in_memory 64 KB
  217. memory_replacement_policy heap GDSF
  218. cache_effective_group proxy
  219. cache_effective_user proxy
  220. cache_dir aufs /cache/cache 50000 16 256
  221. coredump_dir /cache/cache
  222. cache_mgr proxy-server
  223. visible_hostname proxy-server
  224. minimum_object_size 0 KB
  225. maximum_object_size 512 MB
  226. read_ahead_gap 64 KB
  227. cache_replacement_policy heap LFUDA
  228. store_dir_select_algorithm least-load
  229. cache_swap_low 90
  230. cache_swap_high 95
  231.  
  232. # LOG FILE OPTIONS
  233. acl log method CONNECT
  234. logfile_daemon /usr/lib/squid/log_file_daemon
  235. access_log daemon:/var/log/squid/access.log !CONNECT
  236. cache_log /var/log/squid/cache.log
  237. cache_store_log /var/log/squid/store.log
  238. debug_options ALL,1 22,3
  239. cache_store_log none
  240. logfile_rotate 3
  241. pid_filename /var/run/squid.pid
  242.  
  243. # FILTERING HTTPS
  244. acl 1 dstdomain .fbcdn.net .akamaihd.net .fbsbx.com
  245. # acl 2a dstdomain .mahadana.com .mql4.com .metaquotes.net
  246. acl 2 url_regex -i ^http?:\.*\/\/(edition\.cnn\.com\/(.*)\/)(.*)
  247. acl 2 url_regex -i ^https?:\/\/attachment\.fbsbx\.com\/.*\?(id=[0-9]*).*
  248. acl 2 url_regex -i \.fbsbx\.com\/.*\/(.*\.(unity3d|pak|zip|exe|dll|jpg|png|gif|swf)/)$
  249. acl 2 url_regex -i ^https?:\/\/.*\.ytimg\.com(.*\.(webp|jpg|gif))
  250. acl 2 url_regex -i ^https?:\/\/([^\.]*)\.yimg\.com\/(.*)
  251. acl 2 url_regex -i ^https?:\/\/.*\.gstatic\.com\/images\?q=tbn\:(.*)
  252. acl 2 url_regex -i ^https?:\/\/.*\.reverbnation\.com\/.*\/(ec_stream_song|download_song_direct|stream_song)\/([0-9]*).*
  253. acl 2 url_regex -i ^https?:\/\/([a-z0-9.]*)(\.doubleclick\.net|\.quantserve\.com|.exoclick\.com|interclick.\com|\.googlesyndication\.com|\.auditude\.com|.visiblemeasures\.com|yieldmanager|cpxinteractive)(.*)
  254. acl 2 url_regex -i ^https?:\/\/(.*?)\/(ads)\?(.*?)
  255. acl 2 url_regex -i ^https?:\/\/.*steampowered\.com\/.*\/([0-9]+\/(.*))
  256. acl 3 url_regex -i ^https?:\/\/(.*?)\/speedtest\/.*\.(jpg|txt|png|gif|swf)\?.*
  257. acl 3 url_regex -i speedtest\/.*\.(jpg|txt|png|gif|swf)\?.*
  258. acl 4 url_regex -i reverbnation.*audio_player.*ec_stream_song.*$
  259. acl 5 url_regex -i utm.gif.*
  260. acl 6 url_regex -i c.android.clients.google.com.market.GetBinary.GetBinary.*
  261. acl 7 url_regex -i youtube.*(ptracking|stream_204|player_204|gen_204).*$
  262. acl 7 url_regex -i \.c\.(youtube|google)\.com\/(get_video|videoplayback|videoplay).*$
  263. acl 7 url_regex -i (youtube|google).*\/videoplayback\?.*
  264. acl 8 http_status 302
  265.  
  266. acl store_url url_regex -i (youtube|googlevideo|docs.google|video.google).*videoplayback\?.*
  267. acl loop_302 http_status 302
  268. acl loop_mime rep_mime_type text/html
  269. acl loop_mime rep_mime_type text/plain
  270. acl getmethod method GET
  271.  
  272. store_miss deny store_url loop_302
  273. store_miss deny store_url loop_mime
  274. send_hit deny store_url loop_302
  275. send_hit deny store_url loop_mime
  276.  
  277. # url_rewrite edition
  278. acl extras url_regex -i \/(watch\?v\=|embed\/|v\/)(.*)
  279. # rewrite program
  280. store_id_extras "%>a/%>A %un %>rm myip=%la myport=%lp referer=%{Referer}>h" # Use string $X[0] & $X[6]
  281. store_id_extras "%{Referer}>h" # If you use this config so your string must be $X[0] & $X[1]
  282. url_rewrite_access allow extras
  283. url_rewrite_access deny all
  284. url_rewrite_program /etc/squid/extras.pl
  285.  
  286. ssl_bump splice localhost
  287. acl 9 at_step SslBump1
  288. acl 10 at_step SslBump2
  289. acl 11 at_step SslBump3
  290. ssl_bump peek 9 all
  291. ssl_bump stare 10 all
  292. ssl_bump splice 11 all
  293.  
  294. sslcrtd_program /usr/lib/squid/ssl_crtd -s /etc/squid/ssl_db -M 4MB
  295. sslcrtd_children 16 startup=1 idle=1
  296. sslproxy_cert_error allow all
  297. always_direct allow all
  298. ssl_unclean_shutdown on
  299.  
  300. # STORE ID
  301. store_id_program /usr/bin/perl /etc/squid/store-id.pl
  302. store_id_children 10 startup=5 idle=2 concurrency=10
  303. store_id_access allow 1
  304. store_id_access allow 2
  305. store_id_access allow 3
  306. store_id_access allow 4
  307. store_id_access allow 5
  308. store_id_access allow 6
  309. store_id_access allow 7
  310. store_miss deny 7 8
  311. send_hit deny 7 8
  312. store_id_access deny all
  313.  
  314. # TUNNING CACHE
  315. max_stale 1 years
  316. vary_ignore_expire on
  317. shutdown_lifetime 10 seconds
  318.  
  319. # REFRESH PATTERN
  320. refresh_pattern -i \.steampowered\.com\/(.*)\/ 1440 100% 4320 override-expire override-lastmod reload-into-ims ignore-auth store-stale
  321. refresh_pattern -i \.edgesuite\.net\/(.*)\/ 1440 100% 4320 override-expire override-lastmod reload-into-ims ignore-auth store-stale
  322. refresh_pattern -i ^http:\/\/(.*\.*\.gemscool\.com)\/.*\/.*\/(.*iop?) 100800 20% 100800 ignore-reload override-expire override-lastmod ignore-must-revalidate ignore-private ignore-no-store ignore-auth store-stale
  323. refresh_pattern -i ^http:\/\/(.*\.*\.gemscool\.com)\/.*\/.*\/(.*zip?) 10080 20% 100800 override-expire override-lastmod ignore-no-cache ignore-private reload-into-ims ignore-must-revalidate ignore-reload store-stale
  324. refresh_pattern -i \/(watch\?v\=|embed\/|v\/)(.*) 10080 99% 43200 override-lastmod override-expire ignore-reload reload-into-ims ignore-private reload-into-ims ignore-auth store-stale
  325. refresh_pattern -i ^http?:\.*\/\/(edition\.cnn\.com\/(\.*videos)\/)(.*) 10080 99% 43200 override-lastmod override-expire ignore-reload reload-into-ims ignore-private reload-into-ims ignore-auth store-stale
  326. refresh_pattern -i ^http?:\.*\/\/(edition\.cnn\.com\/(.*)\/)(.*) 1296000 30% 1296000 ignore-reload override-expire override-lastmod ignore-must-revalidate ignore-private ignore-no-store ignore-auth store-stale
  327. refresh_pattern -i \.lytogame\.com\/.*\.(ini|inf) 0 0% 0
  328. refresh_pattern -i ^http:\/\/update3\.netmarble\.co\.id\/sf2\/.*\/.*\.(xml|jpg)\.dfg 0 0% 0
  329. refresh_pattern -i https?:\/\/.*\.xx\.fbcdn\.net\/.*\.(jpg|png) 43830 99% 259200 override-expire override-lastmod ignore-reload
  330. refresh_pattern static\.(xx|ak)\.fbcdn\.net*\.(jpg|gif|png) 241920 99% 241920 ignore-reload override-expire ignore-no-store
  331. refresh_pattern ^https?\:\/\/profile\.ak\.fbcdn.net*\.(jpg|gif|png) 241920 99% 241920 ignore-reload override-expire ignore-no-store
  332. refresh_pattern (akamaihd|fbcdn)\.net 14400 99% 518400 ignore-no-store ignore-private ignore-reload ignore-must-revalidate store-stale
  333. refresh_pattern (audio|video)\/(webm|mp4) 129600 99% 129600 ignore-reload override-expire override-lastmod ignore-must-revalidate ignore-private ignore-no-store ignore-auth store-stale
  334. refresh_pattern -i \/speedtest\/.*\.(txt|jpg|png|swf) 0 99% 14400 override-expire ignore-reload ignore-private ignore-reload override-lastmod reload-into-ims
  335. refresh_pattern -i reverbnation.com 1440 99% 14400 override-expire override-lastmod ignore-no-cache ignore-private ignore-must-revalidate ignore-reload store-stale
  336. refresh_pattern -i (yimg|twimg)\.com\.* 1440 100% 129600 override-expire ignore-reload reload-into-ims
  337. refresh_pattern -i (ytimg|ggpht)\.com\.* 1440 80% 129600 override-expire override-lastmod ignore-auth ignore-reload reload-into-ims
  338. refresh_pattern -i (get_video\?|videoplayback\?|videodownload\?|\.mp4|\.webm|\.flv|((audio|video)\/(webm|mp4))) 241920 100% 241920 override-expire ignore-reload ignore-private ignore-no-store ignore-must-revalidate reload-into-ims ignore-auth store-stale
  339. refresh_pattern -i ^https?\:\/\/.*\.googlevideo\.com\/videoplayback.* 10080 99% 43200 override-lastmod override-expire ignore-reload reload-into-ims ignore-private reload-into-ims ignore-auth store-stale
  340. refresh_pattern ^\.*(streamate.doublepimp.com.*\.js\?|utm\.gif|ads\?|rmxads\.com|ad\.z5x\.net|bh\.contextweb\.com|bstats\.adbrite\.com|a1\.interclick\.com|ad\.trafficmp\.com|ads\.cubics\.com|ad\.xtendmedia\.com|\.googlesyndication\.com|advertising\.com|yieldmanager|game-advertising\.com|pixel\.quantserve\.com|adperium\.com|doubleclick\.net|adserving\.cpxinteractive\.com|syndication\.com|media.fastclick.net).* 1440 99% 14400 ignore-private override-expire ignore-reload ignore-auth max-stale=1440
  341. refresh_pattern \.(ico|video-stats) 1440 99% 14400 override-expire ignore-reload ignore-private ignore-auth override-lastmod ignore-must-revalidate
  342. refresh_pattern ^http://((cbk|mt|khm|mlt|tbn)[0-9]?)\.google\.co(m|\.uk|\.id) 1440 99% 14400 override-expire override-lastmod ignore-reload ignore-private ignore-auth ignore-must-revalidate
  343. refresh_pattern vid\.akm\.dailymotion\.com.*\.on2\? 1440 99% 14400 override-expire override-lastmod
  344. refresh_pattern galleries\.video(\?|sz) 1440 99% 14400 override-expire ignore-reload ignore-must-revalidate ignore-private
  345. refresh_pattern \.wikimapia\.org\/? 1440 99% 14400 override-expire override-lastmod ignore-reload ignore-private
  346. refresh_pattern -i (livescore.com|goal.com|bobet) 0 50% 60
  347. refresh_pattern (photobucket|pbsrc|flickr|yimg|ytimg|twimg|gravatar)\.com.*\.(jp(e?g|e|2)|gif|png|tiff?|bmp|swf|mp(4|3)) 1440 99% 14400 override-expire ignore-reload ignore-private
  348. refresh_pattern (zynga|topeleven|ninjasaga|mafiawars|cityville|farmville|crowdstar|spilcdn|agame|popcap)\.com/.* 1440 99% 14400 override-expire ignore-reload ignore-private
  349. refresh_pattern -i \.(3gp|7z|ace|asx|bin|deb|divx|dvr-ms|ram|rpm|exe|inc|cab|qt) 10080 80% 10080 override-expire override-lastmod reload-into-ims
  350. refresh_pattern -i \.(rar|jar|gz|tgz|bz2|iso|m1v|m2(v|p)|mo(d|v)|arj|lha|lzh|zip|tar|iop|nzp|pak|mar|msp) 10080 80% 10080 override-expire override-lastmod reload-into-ims ignore-reload
  351. refresh_pattern -i \.(jp(e?g|e|2)|gif|pn[pg]|bm?|tiff?|ico|swf|dat|ad|txt|dll) 10080 80% 10080 override-expire override-lastmod reload-into-ims
  352. refresh_pattern -i \.(avi|ac4|mp(e?g|a|e|1|2|3|4)|mk(a|v)|ms(i|u|p)|og(x|v|a|g)|rm|r(a|p)m|snd|vob|webm) 10080 80% 10080 override-expire override-lastmod reload-into-ims
  353. refresh_pattern -i \.(pp(t?x)|s|t)|pdf|rtf|wax|wm(a|v)|wmx|wpl|cb(r|z|t)|xl(s?x)|do(c?x)|flv|x-flv) 10080 80% 10080 override-expire override-lastmod reload-into-ims
  354. refresh_pattern -i \.(3gp|7z|ace|asx|bin|deb|cup|dvr-ms|ram|rpm|exe|inc|cab|qt) 10080 100% 43800 override-expire override-lastmod ignore-reload ignore-no-store ignore-private ignore-auth ignore-must-revalidate store-stale
  355. refresh_pattern -i \.(rar|jar|gz|tgz|bz2|iso|m1v|m2(v|p)|mo(d|v)|arj|lha|lzh|zip|tar|pak|cup) 10080 100% 43800 override-expire override-lastmod ignore-reload ignore-no-store ignore-private ignore-auth ignore-must-revalidate store-stale
  356. refresh_pattern -i \.(jp(e?g|e|2)|gif|pn[pg]|bm?|tiff?|ico|swf|dat|ad|txt|dll) 10080 100% 43800 override-expire override-lastmod ignore-reload ignore-no-store ignore-private ignore-auth ignore-must-revalidate store-stale
  357. refresh_pattern -i \.(avi|ac4|mp(e?g|a|e|1|2|3|4)|mk(a|v)|ms(i|u|p)|og(x|v|a|g)|rm|r(a|p)m|snd|vob) 10080 100% 43800 override-expire override-lastmod ignore-reload ignore-no-store ignore-private ignore-auth ignore-must-revalidate store-stale
  358. refresh_pattern -i \.(pp(t?x)|s|t)|pdf|rtf|wax|wm(a|v)|wmx|wpl|cb(r|z|t)|xl(s?x)|do(c?x)|flv|x-flv) 10080 100% 43800 override-expire override-lastmod ignore-reload ignore-no-store ignore-private ignore-auth ignore-must-revalidate store-stale
  359. refresh_pattern -i .(html|htm|css|js|xml)$ 1440 75% 40320
  360. refresh_pattern -i .index.(html|htm)$ 0 75% 43800
  361.  
  362. #KEEP THESE LINES AT BOTTOM OF CONFIGURATION
  363. refresh_pattern ^ftp: 1440 20% 10080
  364. refresh_pattern ^gopher: 1440 0% 1440
  365. refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
  366. refresh_pattern (index|home|default)\.(htm|php|asp|asp|aspx|shtml|cfm|cfml|phtml) 0 0% 0
  367. refresh_pattern \.(htm|php|asp|asp|aspx|shtml|cfm|cfml|phtml|jsp|cgi|asx|css|js|xml)\? 0 0% 0
  368. refresh_pattern . 0 50% 1440
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement