# HTTP not working / downloads 57 byte small file

**URL:** <https://www.ruby-forum.com/t/http-not-working-downloads-57-byte-small-file/244694>\
**Category:** NGINX\
**Created:** [May 28, 2016, 9:24pm UTC](https://www.ruby-forum.com/t/http-not-working-downloads-57-byte-small-file/244694 "2016-05-28T21:24:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sadaf\_N](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/858c86/32.png) [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Post date:** [May 28, 2016, 9:24pm UTC](https://www.ruby-forum.com/t/http-not-working-downloads-57-byte-small-file/244694/1 "2016-05-28T21:24:30Z")

</div>

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:

> **[HTTP not working / downloads 57 byte small file](https://forum.nginx.org/read.php?2,267210,267210#msg-267210)**
>
> 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.

---

<div class="post-metadata">

**Author:** ![rzmpl](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/f14d63/32.png) [@rzmpl](https://www.ruby-forum.com/u/rzmpl)\
**Post date:** [May 29, 2016, 8:54pm UTC](https://www.ruby-forum.com/t/http-not-working-downloads-57-byte-small-file/244694/2 "2016-05-29T20:54:03Z")

</div>

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

_B. R._

---

<div class="post-metadata">

**Author:** ![rzmpl](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/f14d63/32.png) [@rzmpl](https://www.ruby-forum.com/u/rzmpl)\
**Post date:** [May 30, 2016, 4:07pm UTC](https://www.ruby-forum.com/t/http-not-working-downloads-57-byte-small-file/244694/3 "2016-05-30T16:07:45Z")

</div>

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](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.

> **[nginx](http://nginx.org/)**
