Nginx

How to View and Configure NGINX Access & Error Logs

Learn how to view and configure nginx access and error logs

Linux
Logging
Nginx
Guides · Better Stack ·  Updated on October 12, 2023

How to Configure Nginx as a Reverse Proxy for Node.js Applications

Node.js has built-in web server capabilities that is perfectly capable of being used in production. However, the conventional advice that has persisted from its inception is that you should always ...

Node.js
NGINX
Guides · Better Stack ·  Updated on October 11, 2023

502 bad gateway Nginx

If you are getting the 502 bad gateway error when accessing a Nginx server, here are a few solutions: Check if Nginx is running To check if Nginx is running run the following command: systemctl sta...

Nginx
Questions · Better Stack ·  Updated on November 9, 2023

Where can I find the error logs of NGINX, using FastCGI and Django?

By default Nginx stores its error logs in the /var/log/nginx/error.log file and access logs in the /var/log/nginx/access.log. To change the location of the log files, configure the following direct...

Django
Nginx
Questions · Better Stack ·  Updated on October 11, 2023