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!
Written by Alex Goretoy
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Configuration
Authors
danielpuglisi
17.56K
fsproru
13.21K
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#