Can I use multiple maps with a single map ?

For example;

map $ngxvar1 $myvar1 {
default 0;
~*string 1;
}
map $ngxvar2 $myvar2 {
default 0;
~*string 1;
}
map $ngxvar3 $myvar3 {
default 0;
~*string 1;
$myvar1 1;
$myvar2 1;
}

This way I would only have one IF $myvar3 ....., but obviously this example
doesn't work, is this possible ?

Posted at Nginx Forum: 
http://forum.nginx.org/read.php?2,254226,254226#msg-254226

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to