I'm mounting a server with nginx, and I have some issue with my css. On IE it's well displayed, but the firefox's console says me that my css files were not loaded because their mime type is text/plain and not text/css.
In my server, I've got this into the "mime.types" file :
text/css css;
I have included mime.types in my nginx.conf :
include /etc/nginx/mime.types;
And in my index.html, my stylesheet is imported this way :
<link href = "./css/stable.css" rel = "stylesheet" type="text/css"/>
<style type="text/css">
@import "./css/style.css";
</style>
My js files are recognized as .js by firefox, the issue is only with .css files, I don't understand why (and why this is working on IE)
What am I doing wrong ?
Thank you