At this stage, we have a working Nginx setup—not only is it installed on the system and launched automatically on startup, but it's also organized and optimized with the help of basic directives. It's now time to go one step further into the configuration by discovering the HTTP core module. This module is an essential component of the HTTP configuration—it allows you to set up websites to be served, also referred to as virtual hosts.
This chapter will cover:
- An introduction to the HTTP Core module
- The HTTP/server/location structure
- HTTP core module directives, thematically
- HTTP core module variables
- An in-depth look at the location block