No CSS Loading with nginx

December 17, 2017 1.5k views
Nginx Ubuntu 16.04

I am running odoo 9 at www.johnstonebros.ie .
The website isn't loading css file after I changed some settings in Nginx Server Block file.
I just added
location ~* .(jpg|jpeg|png|gif|ico|css|js)$ {
expires 365d;
}

to it. Then website cannot loading css after drop reboot.

Please help. Thanks.

1 Answer

Try clearing your browser cache.

the files web.assets_common.0.css, and website.assets_frontend.0.css are being loaded.

Have another answer? Share your knowledge.