Summery
Nginx is an open-source web server that can also act as a reverse proxy, load balancer, and HTTP cache. It is often paired with Node.js, forwarding HTTP requests to a backend application while handling client connections.
Important files and directories
/etc/nginx/nginx.conf - Main configuration file
/etc/nginx/sites-available/ - Available virtual host configurations on Debian-based systems
/etc/nginx/sites-enabled/ - Enabled virtual hosts on Debian-based systems
/etc/nginx/conf.d/ - Additional configuration files
/var/www/html/ - Common default web root
/var/log/nginx/access.log - HTTP request logs
/var/log/nginx/error.log - Server errors
References
Further reads: Catching Files over HTTPS - TODO: Add this info in a simple way to this note
Nginx documentation
HackTricks: Nginx