Nginx: Hacks and Configuration cheat sheet

The cheat sheet is for Nginx configurations on Linux based systems like ubuntu. Nginx config file path: /etc/nginx/nginx.conf The below is the tree structure of /etc/nginx/ (these are the main files and folders we need to learn) ├── nginx.conf ├── sites-available │ └── default ├── sites-enabled │ └── default -> /etc/…