2 maps for one 1 variable?
cole.putnamhill at comcast.net
Wed Apr 1 20:02:18 UTC 2015
On Apr 1, 2015, at 3:23 PM, Steve Holdoway <steve at greengecko.co.nz> wrote:
> 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??
Thank does work. Thanks!
More information about the nginx