Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 7072

Nginx error: (13: Permission denied) while reading upstream on /var/cache/nginx/proxy_temp/

$
0
0

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


Viewing all articles
Browse latest Browse all 7072

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>