Run cp /etc/nginx/sites-available/learn.conf lab/learn-comment.conf.
cp /etc/nginx/sites-available/learn.conf lab/learn-comment.conf
Open a copied nginx config and validate the training server config.
Nano and editingcpnanonginx
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-comment.conf.
cp /etc/nginx/sites-available/learn.conf lab/learn-comment.conf
Run nano lab/learn-comment.conf.
nano lab/learn-comment.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 edit-then-test workflow.
Copy the config to lab before opening nano.
Validation catches syntax mistakes before reloads.
nano <file>
Open a simulated nano editor.
cp <src> <dst>
Copy a file.
nginx -t
Validate training nginx configuration.