Stylesheet not parsed because non CSS MIME types are not allowed in strict mode Stylesheet not parsed because non CSS MIME types are not allowed in strict mode nginx nginx

Stylesheet not parsed because non CSS MIME types are not allowed in strict mode


Note that you'll get that error if the page doesn't exist and your server is set to fallback or show some error page for non-existent pages.


I see message: "No input file specified." for all links:http://test.opendialogueapproach.co.uk/wp-content/plugins/revslider/public/assets/css/settings.csshttp://test.opendialogueapproach.co.uk/wp-content/http://test.opendialogueapproach.co.uk/wp-content/plugins/revslider/

Seems like you Site conf file is incorrect. Probably file does not exist in /var/www/opendialogueapproach.co.uk/test/html/wp-content/plugins/revslider/public/assets/css/settings.css

I think you should correct root in your config, or upload files to the /var/www/opendialogueapproach.co.uk/test/html


I have got this error when I put the authentication auth_basic in Nginx. So I have to skip the authentication in the folder of assets.

location / {    auth_basic "Restricted Content";    auth_basic_user_file /etc/nginx/.htpasswd;}location ^~ /assets/ {    auth_basic off;    gzip_static on;    expires max;    add_header Cache-Control public;}