Loading topic
sudo and text editors, and a basic understanding of HTTP requests, DNS names, and TCP ports. You should know that a client sends an HTTP request to a server and receives an HTTP response.2 min readsudo, understand basic HTTP requests, and distinguish a DNS name from a TCP port. You also need a system that uses systemd, the service manager used by most current Debian, Ubuntu, Fedora, and RHEL installations.2 min readsudo, and understand that a service is a background process managed by the operating system. It also assumes that Nginx is installed and that your system uses systemd, as most current Debian, Ubuntu, Fedora, and RHEL systems do.2 min readsudo, and understand basic HTTP requests, DNS names, and TCP ports. Nginx configuration is a hierarchy of contexts. A context is a section where particular directives are valid. A directive is an instruction such as listen, root, or `p2 min readsudo, HTTP requests, DNS names, and TCP ports. Nginx configuration changes should follow a repeatable cycle: edit, validate, reload, then verify the result.2 min readsudo. You should also understand that DNS maps a domain name to an IP address and that HTTP clients send a Host header with the requested name.2 min readsudo, and understand HTTP paths such as /index.html. You should also know that a server block selects a domain and port before Nginx selects a location block.2 min readsudo, understand basic HTTP requests, and resolve DNS names. You should also know that TCP port 80 normally carries HTTP traffic.2 min readsudo. This chapter uses an application that listens on 127.0.0.1:3000.2 min readsudo, HTTP requests, DNS names, and Nginx server blocks. You should already have a domain name pointing to the server and a site that works over HTTP.2 min readsudo, edit Nginx configuration, and distinguish an HTTP request from a systemd service event. This chapter focuses on using logs to explain what happened when a request failed.2 min readsudo, read basic HTTP responses, and understand DNS names and TCP ports. Troubleshooting Nginx is usually a process of finding which layer failed: the service, configuration, network, request matching, upstream application, or file permiss2 min readsudo, understand HTTP requests, and run services that listen on TCP ports. You should also know how to test a configuration before reloading a systemd service.2 min readsudo, and reload a running Nginx service. You should also understand HTTP requests and responses. Make a backup and test every configuration change before reloading Nginx.2 min readsudo, edit Nginx files, test HTTP requests, and read basic HTTP status codes. The goal of hardening is to reduce information leaks and limit the damage caused by abusive requests. Hardening does not replace application security, operating-system updates, or correct file permissi2 min read