Full URL in http GET
eggnet
nginx-forum at nginx.us
Tue Sep 15 03:00:28 MSD 2009
Hello,
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:
https://asdf/test
The request will come in from the client looking like this:
GET /test HTTP/1.1
Host: asdf
What I'd like nginx to do, is for nginx to connect to the back end squid server like this:
GET https://asdf/test HTTP/1.0
Host: asdf
Instead of what it is currently doing, which is this:
GET /test HTTP/1.0
Host: asdf
Is there a way to do this with nginx?
Thanks,
-Jason
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,7007,7007#msg-7007
More information about the nginx
mailing list