<div dir="ltr"><div dir="ltr">Hi,<div><br></div><div>I tried to create a test.html file without any content in it and curl request showed following output:</div><div><br></div><div>[root@cw025 /tunefiles/tunefiles_git]# curl  <a href="http://cw025.domain.com/test.html">http://cw025.domain.com/test.html</a><br>€ÿÿ<br><input name="virtru-metadata" type="hidden" value="{"email-policy":{"state":"closed","expirationUnit":"days","disableCopyPaste":false,"disablePrint":false,"disableForwarding":false,"enableNoauth":false,"persistentProtection":false,"expandedWatermarking":false,"expires":false,"isManaged":false},"attachments":{},"compose-id":"7","compose-window":{"secure":false}}"><div><br></div></div></div><br><div class="gmail_quote" style=""><div dir="ltr" class="gmail_attr">On Fri, Nov 8, 2019 at 5:10 PM shahzaib mushtaq <<a href="mailto:shahzaib.cb@gmail.com">shahzaib.cb@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>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.</div><div><br></div><div>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:</div><div><br></div><div>[root@cw025 /usr/local/etc/nginx/vhosts]# curl -I <a href="http://cw025.domain.com/test.html" target="_blank">http://cw025.domain.com/test.html</a><br>curl: (8) Weird server reply<br></div><div><br></div><div>Can anyone help whats going on?</div><div><br>Regards.</div></div>
</blockquote></div></div>