Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- http_port 192.168.1.175:80 vhost
- cache_peer localhost parent 80 0 originserver login=PASS
- #hierarchy_stoplist cgi-bin ?
- #acl QUERY urlpath_regex cgi-bin \?
- #no_cache deny QUERY
- cache_mem 1024 MB
- maximum_object_size 1024 KB
- maximum_object_size_in_memory 512 KB
- cache_dir ufs /var/spool/squid 2048 16 256
- emulate_httpd_log on
- logformat combined %>a %ui %un [%tl] "%rm %ru HTTP/%rv" %Hs %<st "%{Referer}>h" "%{User-Agent}>h" %Ss:%Sh
- cache_access_log /var/log/squid/access.log combined
- debug_options ALL,1
- request_body_max_size 20480 KB
- refresh_pattern ^ftp: 1440 20% 10080
- refresh_pattern ^gopher: 1440 0% 1440
- refresh_pattern . 10 20% 4320 override-lastmod
- negative_ttl 0
- acl all src 0.0.0.0/0.0.0.0
- acl localhost dst 192.168.1.175/32 127.0.0.1/32
- acl Safe_ports port 80 # http
- acl apacheserverport port 80
- http_access allow localhost Safe_ports
- http_access allow all apacheserverport
- http_access deny all
- # http_reply_access allow localhost Safe_ports
- # http_reply_access deny all
- # http_reply_access allow all
- icp_access deny all
- ident_lookup_access deny all
- cachemgr_passwd disable all
- coredump_dir /var/spool/squid
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement