I have squid running on one server(192.168.29.246) with sslbump enabled.
I configured nginx(192.168.29.245) in the other server and i want it to work in front of squid.
However, only the querystring is passed to squid. so for http://www.example.co/xxx.html, only xxx.html is passed to squid.
How to fix this.
Error Message
The following error was encountered while trying to retrieve the URL: /xxx.html
nginx.conf
upstream squid {
server 192.168.29.246:3128;
}
server {
listen 8338;
server_name localhost;
location / {
proxy_pass http://squid;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header Host $host;
}
}