<div dir="ltr">One question, your backend are sending the content-type header if you made the request to it?<div>If yes, the value is right?</div><div>If not, I think the problem is on backend configuration.</div><div>You can set it on the nginx using the map like I suggest, but will have to add all possible file types on the map, like<br>
<div style="font-family:arial,sans-serif;font-size:13px"><br>map $uri $custom_content_type {</div><div style="font-family:arial,sans-serif;font-size:13px"> default "text/html";<br><font face="arial, sans-serif"> ~(.*\.json)$ "application/json";</font><div class="im">
<span style="color:rgb(34,34,34)">~(.*\.css)$ "text/css";</span></div><div class="im"><font color="#222222"> </font><span style="color:rgb(34,34,34)">~(.*\.js)$ "application/javascript";</span></div>
<div class="im"><font color="#222222"> # and all other formats<br></font>}<br><br>But I suggest to check the configuration on Backend server.</div><div class="im"><br></div><div class="im"><br></div></div></div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Fri, Aug 8, 2014 at 10:23 AM, manish-ezest <span dir="ltr"><<a href="mailto:nginx-forum@nginx.us" target="_blank">nginx-forum@nginx.us</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello wandenberg,<br>
<br>
This procedure is not working for internet explorer. The CSS are not loading<br>
properly. so we have to somehow get the Content-Type in the header. Is there<br>
anything we can use?<br>
<br>
--Manish<br>
<br>
Posted at Nginx Forum: <a href="http://forum.nginx.org/read.php?2,239473,252416#msg-252416" target="_blank">http://forum.nginx.org/read.php?2,239473,252416#msg-252416</a><br>
<div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
</div></div></blockquote></div><br></div>