Skip to content

Commit b7e911f

Browse files
authored
Merge pull request #24 from andrewshan/main
feat:取消配置的参数数量校验
2 parents 3ba825b + 65c9c6f commit b7e911f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/nginx_polaris_limit_module/ngx_http_polaris_limit_module.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ static void join_map_str(const ngx_log_t *log, const std::map<std::string, std::
3838

3939
static ngx_command_t ngx_http_polaris_limit_commands[] = {
4040
{ ngx_string("polaris_rate_limiting"),
41-
NGX_HTTP_LOC_CONF|NGX_CONF_1MORE,
41+
NGX_HTTP_LOC_CONF|NGX_CONF_ANY,
4242
ngx_http_polaris_limit_conf_set,
4343
NGX_HTTP_LOC_CONF_OFFSET,
4444
0,

0 commit comments

Comments
 (0)