I’m trying to get nginx to work with a squid back end. In our
environment, we require the full URL in the GET line, which is how squid
can distinguish between an http and https request. The role of nginx is
to decode the ssl session and pass on the request in plain http to
squid.
For example, if we request this URL against nginx:
I’m trying to get nginx to work with a squid back end. Â In our environment, we require the full URL in the GET line, which is how squid can distinguish between an http and https request. Â The role of nginx is to decode the ssl session and pass on the request in plain http to squid.
Doesn’t squit handle http headers? Try Module ngx_http_upstream_module or some other module on
the wiki, or maybe the $uri variable? Not sute.
In forward proxy mode, it is standard to pass the full URL in the GET
line, and not just the part after the host, but I don’t see any option
in nginx to do this.
vesperto Wrote:
Doesn’t squit handle http headers? Try Module ngx_http_upstream_module or
some other module on
the wiki, or maybe the $uri variable? Not sute.
–
() ascii-rubanda kampajno - kontraÅ html-a
retpoÅto
/\ ascii ribbon campaign - against html e-mail
Actually it looks like the link I posted showed someone trying to
connect to a forward proxy like I am, but the method is a little
different. My original post is the most descriptive.
eggnet Wrote:
after the host, but I don’t see any option in
nginx to do this.
Posted at Nginx Forum:
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.