更新时间:2021-08-23 21:28:42
我认为它可以解决您的问题.
I think that it can solve your problem.
location ~ \.css { add_header Content-Type text/css; } location ~ \.js { add_header Content-Type application/x-javascript; }
资源被解释为图像但使用 MIME 类型 text/html 传输 - Magento
资源被解释为样式表但使用 MIME 类型 text/html 传输(似乎与 Web 服务器无关)
资源解释为样式表,但在AngularJS中使用MIME类型text / html进行传输
nginx 无法识别 css 和图像:资源被解释为样式表,但使用 MIME 类型 text/html 传输
资源被解释为样式表,但在 ASP.NET IIS 中使用 MIME 类型 text/html 传输
资源被解释为样式表但使用 MIME 类型 text/html 传输