Loading topic
systemd. You should be comfortable using sudo, navigating the command line, and editing text files. You should also know that /etc contains system-wide configuration files.2 min readsudo, and DNS concepts are familiar. A server block is an Nginx configuration block that describes how to handle requests for one site or group of host names. It is similar to a virtual host in other web servers.2 min readsudo, and you understand DNS, HTTP requests, and the Host header. This chapter uses the Debian and Ubuntu layout, where site files live in sites-available and enabled sites are linked from sites-enabled.1 min readsudo, and understand IPv4, IPv6, and basic HTTP requests. This chapter focuses on how Nginx binds to network addresses and ports. The listen directive determines which incoming connections a server block can receive.2 min readsudo, and you understand the HTTP Host header. You should also know that DNS maps a host name to an IP address. The examples use Debian and Ubuntu’s sites-available and sites-enabled layout.2 min readsystemd. You should also be comfortable with sudo, file permissions, symbolic links, and basic HTTP configuration. The examples use the sites-available and sites-enabled layout commonly provided by Debian and Ubuntu packages.2 min readHost header, and how to edit Nginx configuration. Nginx is installed and running under systemd.2 min readHost header. The goal is to test name-based routing while the public DNS records still point somewhere else.2 min readsudo, read a server block, and send basic HTTP requests with curl. You should also understand that a DNS name can resolve to an IP address without being a valid site name in Nginx.2 min readsystemctl, sudo, and basic HTTP requests. This chapter focuses on finding the right log when one Nginx server hosts several sites.2 min readlisten and server_name, how to edit a site file, and how to run nginx -t and systemctl reload. This chapter uses example.com as the canonical host name, meaning the one public name you want users and search engines to use.2 min readsudo, and that you understand basic HTTP requests and DNS. It also assumes that an application is already listening on 127.0.0.1:3000.2 min readsudo, and distinguish the http, server, and location configuration contexts. You should also know how to test and reload Nginx with nginx -t and systemctl reload nginx.2 min readserver blocks, and Linux permissions. Troubleshoot one layer at a time: request matching, file access, content lookup, and configuration loading.2 min read