Blog

27 Dec
2019
ColorHosting BaseZap

[FIXED] 502 Bad Gateway Error on Nginx Web Server

HTTP response codes, particularly those that represent an error, can be difficult to deal with. While some are simple, others have obtuse or confusing meanings and, worst of all, since these codes are the result of a much broader relationship between the client, the web application, a web server, and untold numbers of outside web […]

27 Dec
2019
ColorHosting BaseZap

[FIXED] 403 Forbidden Error on Nginx Web Server

Many times you will face a 403 Forbidden error using Nginx web server, and also most times, it is not related to Nginx itself. 403 Forbidden error means you don’t have permission to access that part of the web. This error can be caused by many reasons, and here we will discuss these reasons one […]

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 […]