Unable to use a GET url-param

Francis Daly francis at daoine.org
Sat Apr 15 08:25:30 UTC 2017


On Fri, Apr 14, 2017 at 06:42:22PM +0530, Ajay Garg wrote:

Hi there,

> When I do the following call ::
> 
> https://username:password@1.2.3.4?upstream_protocol=http

> 2017/04/14 13:03:51 [error] 16039#16039: *1 invalid URL prefix in "://
> 127.0.0.1:5000", client: 182.69.5.226, server: , request: "GET
> /cgi-bin/webproc HTTP/1.1", host: "1.2.3.4", referrer: "
> https://1.2.3.4/?upstream_protocol=http"

> What am I missing?

The request in the log line is not the same as the first request provided.

What is the output of "curl -v" on the first request? If it is not
exactly what you expect, what does the nginx log say for that one request?

Good luck with it,

	f
-- 
Francis Daly        francis at daoine.org


More information about the nginx mailing list