map string $variable { ... } Default: — Context: stream Creates a new variable whose value depends on values of one or more of the source variables specified in the first parameter. Since variables are evaluated only when they are used, the mere declaration even of a large number of “...
ngx_stream_map_module 模块(1.11.2+)创建变量,其值取决于其他变量的值。 示例配置 map $remote_addr $limit { 127.0.0.1 ""; default $binary_remote_addr; } limit_conn_zone $limit zone=addr:10m; limit_conn addr 1; map 语法:map string $variable { … } 默认:— 上下文:stream 创建新变量...
.