November 08, 2019 08:14AM
Ok found it, i mistakenly put http2 header in HTTP section of nginx .



On Fri, Nov 8, 2019 at 6:00 PM shahzaib mushtaq <shahzaib.cb@gmail.com>
wrote:

> Hi,
>
> I tried to create a test.html file without any content in it and curl
> request showed following output:
>
> [root@cw025 /tunefiles/tunefiles_git]# curl
> http://cw025.domain.com/test.html
> €ÿÿ
>
>
> On Fri, Nov 8, 2019 at 5:10 PM shahzaib mushtaq <shahzaib.cb@gmail.com>
> wrote:
>
>> Hi,
>>
>> We just recently received an alert against one of our Nginx based server
>> which has started to download files with any extension e.g .html, .php) on
>> HTTP instead of processing it. On HTTPS file process fine but on HTTP, even
>> though its .html extension file it is started to download by the browser..
>>
>> We've forced redirect setup from HTTP to HTTPS, which is also stopped
>> working. If we send curl request to HTTP , following is the reply we get:
>>
>> [root@cw025 /usr/local/etc/nginx/vhosts]# curl -I
>> http://cw025.domain.com/test.html
>> curl: (8) Weird server reply
>>
>> Can anyone help whats going on?
>>
>> Regards.
>>
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

NginX Sudden "Weird server reply" HACKED ?

shahzaib1232 November 08, 2019 07:12AM

Re: NginX Sudden "Weird server reply" HACKED ?

shahzaib1232 November 08, 2019 08:02AM

Re: NginX Sudden "Weird server reply" HACKED ?

shahzaib1232 November 08, 2019 08:14AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 309
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