Welcome! Log In Create A New Profile

Advanced

Re: HTTP not working / downloads 57 byte small file

Maxim Dounin
May 30, 2016 10:08AM
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 Dounin
http://nginx.org/

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

HTTP not working / downloads 57 byte small file

rzmpl May 28, 2016 03:24PM

Re: HTTP not working / downloads 57 byte small file

B.R. May 29, 2016 02:56PM

Re: HTTP not working / downloads 57 byte small file

Maxim Dounin May 30, 2016 10:08AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 229
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready