[squid-users] Reverse proxy is not responding

Amos Jeffries squid3 at treenet.co.nz
Sun Mar 18 14:03:47 UTC 2018


On 19/03/18 01:48, Kiru Pananthan wrote:
> Hi Amos
> 
> Thanks for your reply, here I have attached the squid config file link
> for your view, do I need to clear the squid cache in the squid server
> for it works?

You do not have any persistent cache enabled on that proxy. Restarting
the proxy is sufficient to wipe the memory cache.


> 
> Config file url
> https://goo.gl/Q4a749

What you have there is the documentation file for squid.conf. Please
remove all the empty line and comments (line beginning with #).
Then you and we will be able to see what the config actually is.



>From what I could see there all your cache_peer and cache_peer_access
lines are a bit muddled up. Compare what you have there to the example
it seems to have been original copy-n-pasted from:
 <https://wiki.squid-cache.org/ConfigExamples/Reverse/MultipleWebservers>


Also, your cache_peer lines for server_5 and server_7 are identical -
same IP:port and other parameters. If that 172.23.2.99:80 is the correct
destination for both the sites_server7 and sites_server_5 domains, then
you only need one cache_peer definition.
 Otherwise that is probably your problem right there.


Amos


More information about the squid-users mailing list