Putting the include /etc/nginx/mime.types;
under location / {
instead of under http {
solved the issue for me.
More Related Contents:
- How to clear the cache of nginx?
- Nginx failing to load CSS and JS files (MIME type error)?
- Bootstrap align navbar items to the right
- How to remove the stripes that appears when using linear gradient property [duplicate]
- How can I make Flexbox children 100% height of their parent?
- Browser support for CSS Grid
- What’s the difference between display:inline-flex and display:flex?
- wordwrap a very long string
- What does ‘?’ do in a Css link?
- css vertical centering
- How to style icon color, size, and shadow of Font Awesome Icons
- What does “i” mean in a CSS attribute selector?
- Is there a SASS.js? Something like LESS.js?
- 100vw causing horizontal overflow, but only if more than one?
- How to thematize in lesscss
- CSS precedence
- Apply style ONLY on IE
- CSS Div stretch 100% page height
- Bootstrap 3 modal vertical position center
- Superscript in CSS only?
- Multiple font-weights, one @font-face query
- How to compile or convert sass / scss to css with node-sass (no Ruby)?
- What is the meaning of `auto` value in a CSS property.
- How to add animated gradient to an svg path?
- LESS CSS nesting classes
- Bootstrap change div order with pull-right, pull-left on 3 columns
- CSS – First child without certain class
- CSS Floating Divs with different height are aligned with space between them
- Dynamically updating css in Angular 2
- How to specify table’s height such that a vertical scroll bar appears?