Run ls /etc/nginx/sites-available.
ls /etc/nginx/sites-available
Inspect training nginx site layout and run a config test.
Server operationslscatnginx
Click any instruction for the command details, the why, and the common mistake to avoid.
Run ls /etc/nginx/sites-available.
ls /etc/nginx/sites-available
Run cat /etc/nginx/sites-available/learn.conf.
cat /etc/nginx/sites-available/learn.conf
Run nginx -t.
nginx -t
Create a free account to sync completed lessons, XP, streaks, course status, and your next lesson across sessions.
Checking account status...
Progress sync is idle.
Progress sync stores completion IDs, scores, streaks, badges, and game settings. Terminal contents, editor snippets, lab scratch, email, and real names are never published on leaderboards or share cards.
Map available and enabled nginx configs.
List sites-available, then read learn.conf.
Nginx routing bugs often come from the wrong file being enabled.
ls [-la] [path]
List lab files and folders.
cat <file>
Print text file contents.
lsof
Show simulated files and sockets opened by services.
nginx -t
Validate training nginx configuration.