Thengx_stream_map_modulemodule (1.11.2) creates variables whose values depend on values of other variables. Example Configuration map $remote_addr $limit { 127.0.0.1 ""; default $binary_remote_addr; } limit_conn_zone $limit zone=addr:10m; limit_conn addr 1; Directives Creates a new variab...
map_hash_max_size 该ngx_stream_map_module模块(1.11.2)创建变量,其值依赖于其它变量的值。 示例配置 代码语言:javascript 复制 map $remote_addr $limit{127.0.0.1"";default$binary_remote_addr;}limit_conn_zone $limit zone=addr:10m;limit_conn addr1; ...
ngx_stream_map_module 文章/答案/技术大牛搜索 搜索关闭 发布 ngx_stream_map_module nginxngx_stream_map_module 目录 ngx_stream_map_module
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 创建新变量...