Caddy not loading CSS because of MIME type

The upstream app really should be setting a correct mime type for the assets it serves. That’s really the upstream app’s responsibility to do it correctly.

If that’s not possible, you could try to override the Content-Type for specific file types, like this:

@css path *.css
header @css Content-Type text/css

And so on for other file types.

3 Likes