nginx ~ learning terminal
shubham@nginx-box:~$ ./start-learning.sh
NGINX
The high-performance web server
Welcome, Shubham. You've pointed your first server block here —
and that's exactly how every great infrastructure engineer starts.
NGINX is your new best tool: a reverse proxy,
load balancer, and web server that handles millions of
requests with a handful of config lines. The learning curve is short; the power is deep.
-
nginx -t
Test your config before reloading — always do this.
-
nginx -s reload
Apply config changes without dropping connections.
-
tail -f /var/log/nginx/error.log
Your debugging best friend.
-
location /api/ { proxy_pass ... }
Reverse proxy — the most powerful block you'll write.