Exploring the HTTP Configuration
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 the following topics:
- An introduction to the HTTP core module and its three new blocks
- Exploring the HTTP core module directives
- Exploring the directives of HTTP/2
- Exploring the variables introduced by the HTTP core module
- Understanding and exploring the
location
block
By the end of this chapter, you will know all the main points about configuring the NGINX server, its modules, and you will be able to host your first website.