# Assets not loading - kind of

**URL:** <https://kanboard.discourse.group/t/assets-not-loading-kind-of/1754>\
**Category:** Installation Issues\
**Created:** [April 7, 2021, 1:05pm UTC](https://kanboard.discourse.group/t/assets-not-loading-kind-of/1754 "2021-04-07T13:05:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sxvghd](https://avatars.discourse-cdn.com/v4/letter/s/3ec8ea/32.png) [@sxvghd](https://kanboard.discourse.group/u/sxvghd)\
**Post date:** [April 7, 2021, 1:05pm UTC](https://kanboard.discourse.group/t/assets-not-loading-kind-of/1754/1 "2021-04-07T13:05:07Z")

</div>

Hi, I set up Kanboard yesterday, but I seem to misconfigured something because none of the assets (CSS/JS/images) are loading.

 ![2021-04-07-112653_725x246_scrot](https://global.discourse-cdn.com/free1/uploads/kanboard1/original/1X/127dea68143788177bc8549ce96cee07a288ca44.png)  
And by loading I mean get processed/displayed on the screen because as seen below, they are accessible through the web server.  
No errors serverside or clientside, I really don’t know where to go with this.  
Can someone lighten me up?

I’m using OpenBSD/PHP 7.3 (through PHP-FPM)/nginx/Sqlite  
nginx config: [server { listen 443; root /var/www/devroot; ssl on; ssl\_cert - Pastebin.com](https://pastebin.com/fk86Di40)

---

<div class="post-metadata">

**Author:** ![sxvghd](https://avatars.discourse-cdn.com/v4/letter/s/3ec8ea/32.png) [@sxvghd](https://kanboard.discourse.group/u/sxvghd)\
**Post date:** [April 8, 2021, 2:26pm UTC](https://kanboard.discourse.group/t/assets-not-loading-kind-of/1754/2 "2021-04-08T14:26:03Z")

</div>

Nevermind, I figured it out.  
For some reason nginx sent all the files with the ‘text/plain’ MIME, which caused them to be discarded or something.  
‘include mime.types;’ in the config fixed it.

---

<div class="post-metadata">

**Author:** ![MoDi](https://avatars.discourse-cdn.com/v4/letter/m/db5fbb/32.png) [@MoDi](https://kanboard.discourse.group/u/MoDi)\
**Post date:** [November 28, 2023, 9:12am UTC](https://kanboard.discourse.group/t/assets-not-loading-kind-of/1754/3 "2023-11-28T09:12:43Z")

</div>

I have same issue with loading style sheets: Refused to apply style from …

Adding “include mime.types;” in the config file generates:  
Fatal error: Uncaught Error: Undefined constant “mime”

Any clues to solve the problem ?

/M
