Board logo

标题: Resource interpreted as Stylesheet but transferred with MIME type text/html [打印本页]

作者: xiexie    时间: 2017-5-9 20:03     标题: Resource interpreted as Stylesheet but transferred with MIME type text/html

本地运行正常的项目,布置到测试服务器上时页面样式加在不出来,google调试报错:Resource interpreted as Stylesheet but transferred with MIME type text/html      ,项目环境,Nginx+apache。经排查,原来是Nginx在转发时对请求做了类型强转导致,运维修改了nginx配置后,恢复正常。




欢迎光临 PHP开发笔记 (http://www.phpvi.com/) Powered by Discuz! 6.1.0