Serve Static Files with Nginx Without Breaking MIME Types
Nginx serves your HTML fine but hands back CSS as text/plain. Why the obvious types{} fix breaks HTML, and what to use instead.
$ grep -r "#nginx" ~/blogs # my words, with labels
$ ls ~/write/connections
my posts, connectedThese are my #nginx posts. I made the connection; you get the links.
Nginx serves your HTML fine but hands back CSS as text/plain. Why the obvious types{} fix breaks HTML, and what to use instead.