Loading topic
sudo. It also assumes you know what an HTTP 6 min readsudo and read basic command output. The co6 min readsudo, know what an HTTP request looks like, and have installed Nginx from your distribution's package (covered in the previous chapters). You will learn where the configuration files live, how directives are grouped into contexts, and how settings are i5 min readsystemctl, and read the layout of /etc/nginx as covered in earlier chapters. You should also be comfortable editing files6 min readsudo. You should also know how nginx -t and systemctl reload nginx work, and that an HTTP/1.1 request carries a Host header. The goal is to host several sites on one server and to predic5 min read/etc/nginx with sudo and run sudo nginx -t && sudo systemctl reload nginx. It also assumes you know how a server block is chosen by listen and server_name. Here you will learn how Nginx picks one location block inside the chosen server, and how5 min read/etc/nginx with sudo, and test and reload the configuration with nginx -t. It also assumes you know what a server block and a `loca6 min readnginx -t, and read basic HTTP status codes. It covers where the logs are, how to read t5 min readsystemctl and curl. It also assumes you know how server blocks, location blocks, and reverse proxying work, and where the access and error logs are. Here you will turn those pieces into a repeatable way to diagnose fault6 min readproxy_pass to forward requests to an application, and test and reload configuration with nginx -t. Here you will spread traffic across several backend servers with an upstream group, choose a balancing method, and handle backends t5 min read/etc/nginx/, and run sudo nginx -t && sudo systemctl reload nginx to apply changes. It also assumes you know the http, server, and location contexts and have a working reverse proxy. Tuning changes how Nginx spe7 min read/etc/nginx, and test and reload configuration with nginx -t. It also assumes you know how server and location blocks work and understand basic HTTP and TLS. Hardening reduces what an attacker can learn about your server and limits 8 min read