[squid-users] Configuring squid reverse proxy
squid3 at treenet.co.nz
Wed Aug 12 12:58:38 UTC 2015
On 13/08/2015 12:38 a.m., joseph jose wrote:
> I have set up squid in reverse proxy mode to cache an apache webserver
> hosted in linux vm.
> IP of my squid reverse proxy is 10.0.0.1 and 10.0.0.2 is the ip of
> webserver which is also a linux vm
> my config is as follows
> #acl squidallow dstdomain testsquid.com
> #http_port 10.0.0.1:80 accel defaultsite=testsquid.com
> #cache_peer 10.0.0.2 parent 80 0 no-query originserver name=squidtest
> #cache_peer_access squidtest allow allowsquid
> In the squid proxy machine i have edited the host file and set testsquid.com
> 10.0.0.1(which is the ip of proxy machine itself), as proxy is configured
> in reverse mode, it is supposed to serve the static page from
> But when i open browser and search for testsquid.com, squid is logging
> request but returning a TCP_DENIED/403 status.
> Is there anything additionally required in squid config?
You also need this:
http_access allow allowsquid
More information about the squid-users