Last Updated: February 25, 2016
·
564
· gxela

How to configure Nginx

In my configuration I have separated server and application configuration to make easier to manage.

https://gist.github.com/gxela/6500666

If you can see the application configuration is in /etc/nginx/conf.d/application.server, the file extension is server so nginx wont load it from the higher level and we can load load it from the server.conf file.

This has been very good configuration for me. Enjoy!