sudo cat /etc/nginx/sites-available/default

Category: Self-Hosting

sudo cat /etc/nginx/sites-available/default

View the default Nginx server block to understand the base configuration

Views the default catch-all server block. Understanding this helps you know what Nginx returns when no other site config matches a request.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.