I am facing this error while I reading the log using this sudo tail -n 20 /var/log/nginx/error.log;
My website is loading but everything is black and when I am looking at console log I see this Failed to load resource: net::ERR_CONTENT_LENGTH_MISMATCH
The full error from previews log looks like this
2019/09/30 16:24:09 [crit] 9103#9103: *81 mkdir() "/var/cache/nginx/proxy_temp/5" failed (2: No such file or directory) while reading upstream, client: MY_IP, server: dev.example.com, request: "GET /bundle.js HTTP/1.1", upstream: "http://127.0.0.1:5000/bundle.js", host: "dev.example.com", referrer: "https://dev.example.com/"
I have tried to give permissions to cache folder but still not working