Run cp /etc/nginx/sites-available/learn.conf lab/learn-loop.conf.
cp /etc/nginx/sites-available/learn.conf lab/learn-loop.conf
Copy, open, and test nginx configuration safely.
Server operationscpnanonginx
Click any instruction for the command details, the why, and the common mistake to avoid.
Run cp /etc/nginx/sites-available/learn.conf lab/learn-loop.conf.
cp /etc/nginx/sites-available/learn.conf lab/learn-loop.conf
Run nano lab/learn-loop.conf.
nano lab/learn-loop.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 config validation loop.
Copy learn.conf to lab, open it, then run nginx -t.
Testing before reloads prevents avoidable outages.
nano <file>
Open a simulated nano editor.
cp <src> <dst>
Copy a file.
nginx -t
Validate training nginx configuration.