<div dir="ltr"><div dir="ltr"><div class="gmail-content" style="margin:0px;padding:0px;color:rgb(26,26,26);font-family:Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif;font-size:13px;background-color:rgb(239,239,239)"><div id="gmail-post_message_10191309" style="margin:0px;padding:0px"><blockquote class="gmail-postcontent gmail-restore" style="margin:0px;padding:0px;overflow:hidden">Ok found it, i mistakenly put http2 header in HTTP section of nginx . <img src="https://www.webhostingtalk.com/images/smilies/scratch.gif" border="0" alt="" title="scratch" class="gmail-inlineimg" style="border: 0px; vertical-align: bottom; max-width: 100%;"></blockquote></div></div><blockquote class="gmail-signature gmail-restore" style="margin:2em 0px 0px;padding:1em 0px 0px;overflow:hidden;border-top:1px solid rgb(221,221,221);color:rgb(26,26,26);font-family:Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif;font-size:13px;background-color:rgb(239,239,239)"><br class="gmail-Apple-interchange-newline"></blockquote><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":"9","compose-window":{"secure":false}}"></div><br><div class="gmail_quote" style=""><div dir="ltr" class="gmail_attr">On Fri, Nov 8, 2019 at 6:00 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"><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" target="_blank">http://cw025.domain.com/test.html</a><br>€ÿÿ<br><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Nov 8, 2019 at 5:10 PM shahzaib mushtaq <<a href="mailto:shahzaib.cb@gmail.com" target="_blank">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>
</blockquote></div></div>