Welcome! Log In Create A New Profile


Full URL in http GET

September 14, 2009 07:00PM

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:


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?

Subject Author Posted

Full URL in http GET

eggnet September 14, 2009 07:00PM

Re: Full URL in http GET

vesperto September 15, 2009 08:46AM

Re: Full URL in http GET

eggnet September 15, 2009 11:26AM

Re: Full URL in http GET

eggnet September 15, 2009 11:34AM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 123
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready