map a null/missing variable?

Valentin V. Bartenev vbart at nginx.com
Thu Mar 14 00:35:36 UTC 2013


On Wednesday 13 March 2013 22:19:50 AJ Weber wrote:
> OK,
> 
> So I'm still working on my caching "issue", but this is a more general
> question, so for the sake of indexing and helping others in the future
> with (hopefully) a response...
> 
> How do I use a map to map the lack of a variable/header/cookie (NULL?)
> to a value? 

You can use '' (empty string) value for that.

  wbr, Valentin V. Bartenev

--
http://nginx.org/en/donation.html



More information about the nginx mailing list