CSS file in Facebook app being served up as text/html
Reinis Rozitis
r at roze.lv
Fri Sep 23 11:09:45 UTC 2011
> I have no problems with the css files on my web site hosted on the same server and my nginx conf has the standard mime types file
> loaded in the conf.
Post your nginx config since you may have a misconfiguration somewhere and css files are being served through php - header line'
X-Powered-By: PHP/5.3.6' indicates that (it shouldn't be there for static content).
p.s. If that is intended though you will have to modify your php and add <? header('Content-type: text/css'); ?> at the top.
rr
More information about the nginx
mailing list