Run cat /etc/nginx/sites-available/learn.conf.
cat /etc/nginx/sites-available/learn.conf
Read training nginx config and validate it without making real server changes.
Server operationscatgrepnginx -t
Click any instruction for the command details, the why, and the common mistake to avoid.
Run cat /etc/nginx/sites-available/learn.conf.
cat /etc/nginx/sites-available/learn.conf
Run grep /api/ /etc/nginx/sites-available/learn.conf.
grep /api/ /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.
Practice the read-search-validate flow.
Read the site config, search for location /api/, then run nginx -t.
Validation catches broken config before it takes a service down.
cat <file>
Print text file contents.
grep [-i] <text> <file>
Find literal text inside a file.
nginx -t
Validate training nginx configuration.