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:
https://forum.nginx.org/read.php?2,267210,267210#msg-267210

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.
http://www.catb.org/esr/faqs/smart-questions.html

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 https://trac.nginx.org/nginx/ticket/983 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/

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs