I would like to ask if someone could please verify my configs :
I have a Nginx server sitting in front of two Apache servers.
I’m using Nginx as a reverse caching / load balancing solution.
But what I’m trying achieve is to cache only for images, css and Js.
All in all it appears it all works.
The other question I would like to ask is, does the order of location
matter?
Igor recommends using prefix locations as much as possible.
If you were to use regex locations, you might want to embed them into
prefix ones so order only matters at the leaves of the tree, which helps
avoiding conflicts and makes you configuration scalable the most.