O'Reilly logo

Nginx: From Beginner to Pro by Rahul Soni

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

© Rahul Soni 2016

Rahul Soni, Nginx, 10.1007/978-1-4842-1656-9_3

3. Nginx Core Directives

Rahul Soni

(1)Kolkata, West Bengal, India

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, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required