ngx_http_map_module
Module ngx_http_map_module
The ngx_http_map_module
module creates variables whose values depend on values of other variables.
Example Configuration
map $http_host $name { hostnames; default 0; example.com 1; *.example.com 1; example.org 2; *.example.org 2; .example.net 3; wap.* 4; } map $http_user_agent $mobile { default 0; "~Opera Mini" 1; }
Directives
Syntax: | map
|
---|