No CSS Loading with nginx

December 17, 2017 4k views
Nginx Ubuntu 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.

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.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!