![nginx](https://www.webconn.tech/wp-content/uploads/2022/02/nginx.png)
- The default configuration in nginx.conf file is;
error_log /path/to/logfile-folder/error.log;
- change the above line with the following;
error_log /path/to/logfile-folder/error.log debug;
- Restart NGINX.
error_log /path/to/logfile-folder/error.log;
error_log /path/to/logfile-folder/error.log debug;