No CSS Loading with nginx

Posted December 17, 2017 6.2k views
NginxUbuntu 16.04

I am running odoo 9 at .
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.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Try clearing your browser cache.

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