Chapter 2. Basic Nginx Configuration
In this chapter, we will begin to establish an appropriate configuration for the web server. For this purpose, we first need to approach the topic of syntax used in the configuration files. Then we need to understand the various directives that will let you optimize your web server for different traffic patterns and hardware setups. Finally, we will create some test pages to make sure that everything has been done correctly and that the configuration is valid. We will only approach the basic configuration directives here. The following chapters will detail more advanced topics such as HTTP module configuration and usage, creating virtual hosts, and more.
This chapter covers the following topics:
- Presentation ...