Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- http_port 3128 transparent
- hierarchy_stoplist cgi-bin ?
- acl QUERY urlpath_regex -i cgi-bin \?
- cache deny QUERY
- acl localnet src 127.0.0.1/32
- acl lan src 192.168.11.0/24
- acl luar src 192.168.10.0/24
- acl manager proto cache_object
- acl SSL_ports port 443
- acl SSL_ports port 563
- acl SSL_ports port 81
- acl SSL_ports port 2087
- acl SSL_ports port 10000
- acl Safe_ports port 21
- acl Safe_ports port 70
- acl Safe_ports port 80
- acl Safe_ports port 210
- acl Safe_ports port 280
- acl Safe_ports port 443
- acl Safe_ports port 488
- acl Safe_ports port 563
- acl Safe_ports port 591
- acl Safe_ports port 631
- acl Safe_ports port 777
- acl Safe_ports port 901
- acl Safe_ports port 81
- acl Safe_ports port 3128
- acl Safe_ports port 1025-65535
- acl purge method PURGE
- acl CONNECT method CONNECT
- acl pdf urlpath_regex \.pdf$
- no_cache deny pdf
- icp_port 3120
- log_icp_queries off
- icp_hit_stale off
- query_icmp on
- http_access allow localnet
- http_access allow lan
- http_access allow luar
- http_access deny !Safe_ports
- http_access deny CONNECT !SSL_ports
- http_access deny purge
- cache_mem 3024 MB
- maximum_object_size_in_memory 3024 MB
- maximum_object_size 128000 KB
- minimum_object_size 0 KB
- memory_replacement_policy heap GDSF
- cache_replacement_policy heap LFUDA
- cache_dir aufs /p1 68000 183 256
- cache_dir aufs /p2 68000 183 256
- cache_swap_low 98
- cache_swap_high 99
- store_dir_select_algorithm least-load|round-robin
- access_log /var/log/squid3/access.log
- mime_table /etc/squid3/mime.conf
- cache_store_log none
- pid_filename /var/run/squid.pid
- refresh_pattern -i \.(html|htm|html\?|htm\?)$ 9440 90% 100000 override-expire reload-into-ims
- refresh_pattern -i \.(gif|png|jpg|jpeg|ico|bmp|tiff|webp|bif|gif\?|png\?|jpg\?|jpeg\?|ico\?|bmp\?|tiff\?|webp\?|bif\?)$ 36000 90% 100000 override-expire reload-into-ims ignore-reload
- refresh_pattern \.(swf|swf\?|js|js\?|wav|css|css\?|class|dat|zsci)$ 36000 90% 100000 override-expire reload-into-ims
- refresh_pattern -i \.(bin|deb|rpm|exe|zip|tar|tgz|ram|rar|bin|ppt|doc|docx|tiff|pdf|uxx|gz|xls|xlsx|psd|crl|msi|dll|dll\?|crx|enc|skl|arc)$ 36000 90% 100000 override-expire override-lastmod reload-into-ims ignore-reload
- refresh_pattern -i \.(xml)$ 0 90% 100000
- refresh_pattern -i \.(json|json\?)$ 1440 90% 5760 override-expire reload-into-ims
- refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
- refresh_pattern ^ftp: 5440 90% 10080
- refresh_pattern ^gopher: 1440 0% 1440
- refresh_pattern -i . 0 90% 5760
- refresh_pattern -i detik.com/.* 10080 90% 43200
- refresh_pattern -i google.com/.* 10080 90% 43200
- refresh_pattern -i facebook.com/.* 10080 90% 43200
- quick_abort_min 0 KB
- quick_abort_max 0 KB
- quick_abort_pct 100
- store_avg_object_size 13 KB
- vary_ignore_expire on
- dns_nameservers 192.168.11.1
- ipcache_size 8192
- ipcache_low 98
- ipcache_high 99
- fqdncache_size 8192
- cache_mgr aurel_alika_masihBOBOK
- cache_effective_user proxy
- cache_effective_group proxy
- httpd_suppress_version_string on
- visible_hostname cahaya_malam
- mime_table /etc/squid3/mime.conf
- forward_timeout 240 second
- connect_timeout 30 second
- peer_connect_timeout 5 second
- read_timeout 600 second
- request_header_max_size 2560 KB
- request_timeout 60 second
- shutdown_lifetime 5 seconds
- memory_pools on
- read_ahead_gap 1 MB
- client_db on
- reload_into_ims on
- pipeline_prefetch on
- offline_mode off
- acl download url_regex -i .ftp .exe .mp3 .vqf .tar.gz .gz .tar .rpm .zip .rar .avi .mpeg .mpe .mpg .qt .ram .rm .iso .raw .wav .mov .msi .mp4 .flv
- delay_pools 2
- delay_class 1 2
- delay_parameters 1 -1/-1 -1/-1
- delay_class 2 2
- delay_parameters 2 15000/90000 1500/90000
- delay_access 1 deny download
- delay_access 1 allow all
- delay_access 2 allow download !lan
- delay_access 2 deny all
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement