Bug in 1.9.14 or something else?

Maxim Dounin mdounin at mdounin.ru
Mon Apr 11 16:52:18 UTC 2016


Hello!

On Sun, Apr 10, 2016 at 04:18:05AM -0400, jshare wrote:

> If I disable http/2, I can login - good call!
> 
> I enabled the debug.log to compare the output with http/2 enabled and
> disabled, but when I compare the two side by side, nothing jumps out at me.
> Aside from the time and a few numbers, the two log sections are identical.
> What should I be looking for?
> 
> For example, here's the tailed log section that appears when I can't login
> because http/2 is enabled:

[...]

> 2016/04/10 10:53:23 [debug] 11339#0: *32 http process request line
> 2016/04/10 10:53:23 [debug] 11339#0: *32 http request line: "GET /readme.html HTTP/1.1"

[...]

> 2016/04/10 10:53:23 [debug] 11339#0: *32 HTTP/1.1 301 Moved Permanently
> Server: nginx
> Date: Sun, 10 Apr 2016 07:53:23 GMT
> Content-Type: text/html
> Content-Length: 178
> Connection: close
> Location: https://jobmob.co.il/readme.html

This log doesn't looks like a request with HTTP/2 enabled.  
Rather, it looks like a plain HTTP/1.1 redirect to SSL.  You 
probably have another server{} section to handle SSL, and this 
section doesn't have debugging log configured.

You may also want to provide:

- "nginx -V" output;
- the configuration you are using.

-- 
Maxim Dounin
http://nginx.org/



More information about the nginx mailing list