Reverse proxy from nginx to squid
in nginx:
proxy_pass http://@squid;
in squid:
http_port 3128 vhost
and that's all you need for fix this https://imgur.com/qtgrZI9 error
I had this same problem, solved it by setting squid to run in transparent mode, like this:
http_port 3128 transparent