By now, your Nginx server should be up and running. It is time to go ahead and take control over it! You can consider the directives as the nuts and bolts of your web server, using which ones you tweak by the way your web server performs. Nginx has a lot of directives and it is important that you know the basic semantics, so that you can fine-tune your server according to your requirements. You will learn about directives in detail in this chapter.
Location of Configuration Files
The Nginx configuration file is named nginx.conf. Depending on how you have installed Nginx, you can find the configuration in /etc/nginx, /usr/local/etc/nginx, ...