ls /etc/nginx/sites-available/

Category: Web Servers & Proxies

ls /etc/nginx/sites-available/

List nginx site configs available on this host

Shows every site definition installed under sites-available, whether enabled or not. A site becomes active only when a symlink to it exists in sites-enabled, so the two directories can differ. New sites are usually written here first and then enabled with a symlink.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.