HTTP not working / downloads 57 byte small file

Hello, like mentioned in the title HTTP isn’t working at all anymore.
HTTPS
works fine. I already tried default vhost config but no luck there. I
have
no idea what is going on and I didn’t even find anything with google
either.

Posted at Nginx Forum:

There is little to nothing anyone can do with such a message.

Details? Version? Configuration? Leanest example possible to reproduce
the
problem? Anything allowing people to help you… and encouraging them to
get the the will to do so.
How To Ask Questions The Smart Way

B. R.

Hello!

On Sat, May 28, 2016 at 03:24:00PM -0400, rzmpl wrote:

Hello, like mentioned in the title HTTP isn’t working at all anymore. HTTPS
works fine. I already tried default vhost config but no luck there. I have
no idea what is going on and I didn’t even find anything with google either.

Most likely you’ve did something like

listen 80 http2;

in your configuration, which results in HTTP/2 being used on port
80, assuming prior knowledge. Don’t do this.

See #983 (NGINX PROXY 0000 1204 0000 0000 0000 0300 0000 8000) – nginx for an example of
another person who did the same mistake.

May be we need some better indication on what goes wrong here.
I.e., something similar to 497 code we use internally for https
(“a regular request has been sent to the HTTPS port”).


Maxim D.
http://nginx.org/