我在做proxy缓存的时候,发现重启nginx没有报错,但是去浏览器上去查看网页就出现了错误页面
Sorry, the page you are looking for is currently unavailable.
Please try again later.
If you are the system administrator of this resource then you should check the error log for details.
Faithfully yours, nginx.
2020/09/19 15:36:06 [crit] 6264#6264: *32 mkdir() “/app/qianfeng/cache/9” failed (13: Permission denied) while reading upstream, client: 192.168.122.1, server: localhost, request: “GET /favicon.ico HTTP/1.1”, upstream: “http://192.168.122.160:80/favicon.ico”, host: “192.168.122.159”
等一系列的错误。这个只要在网页服务器上重新启动nginx 服务就可以解决了。