Named Locations

Henry Umansky humansky at
Thu Dec 16 01:05:23 MSK 2010

Is it possible to have named locations?? So for example:

path /foo /bar/ /baz = @folder_set

location @folder_set {

This feature would help tremendously, because I have about 300 sites I need to load balance, and about half will need to go to one set of servers and the other half will go to the other set of servers. And I want to avoid 300 "location" rules that are equivalent.


More information about the nginx mailing list