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