2 maps for one 1 variable?
steve at greengecko.co.nz
Wed Apr 1 19:23:24 UTC 2015
On Wed, 2015-04-01 at 15:05 -0400, Cole Tierney wrote:
> Is it possible to use more than one map directive with a single variable? I tried but it seems the second map over writes any value set by the 1st map even if there is no match in the 2nd map. I tried leaving out the default value in the second map.
You can link 2 maps together by setting the default value for the second
map as the result from the first map. Unique names will be required
Does that fit with what you're trying to do??
Steve Holdoway BSc(Hons) MIITP
More information about the nginx