[squid-users] Configuring squid reverse proxy
joseph jose
joevypana at gmail.com
Wed Aug 12 12:38:55 UTC 2015
Hi,
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
webserver(10.0.0.2).
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?
Thanks in advance,
Joseph
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20150812/1b9393ef/attachment-0001.html>
More information about the squid-users
mailing list