Blog

25 Aug
2018
ColorHosting BaseZap

nginx 502 error : /var/log/nginx/error.log” failed (2: No such file or directory)

If nginx service is giving following error  : nginx: [alert] could not open error log file: open() “/var/log/nginx/error.log” failed (2: No such file or directory) 2018/08/25 16:10:52 [emerg] 1762#1762: open() “/var/log/nginx/access.log” failed (2: No such file or directory) Then it means that your nginx is either not able to access the particular files/directory or you have […]