Skip to content

Instantly share code, notes, and snippets.

@nitincoded
Created April 10, 2016 13:37
Show Gist options
  • Save nitincoded/3c7df53d8f504507082738e89cc4afca to your computer and use it in GitHub Desktop.
Save nitincoded/3c7df53d8f504507082738e89cc4afca to your computer and use it in GitHub Desktop.
Squid configuration for reverse proxy
http_port 86 accel defaultsite=www.computerworld.com no-vhost
cache_peer www.computerworld.com parent 80 0 no-query originserver name=myAccel
acl our_sites dstdomain www.computerworld.com
http_access allow our_sites
cache_peer_access myAccel allow our_sites
#cache_peer_access myAccel deny all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment