企业🤖AI Agent构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
配置决定指令系统,现在就来看ip_hash的指令定义: [](http:// "点击提交Issue,反馈你的意见...") static ngx_command_t ngx_http_upstream_ip_hash_commands[] = { { ngx_string("ip_hash"), NGX_HTTP_UPS_CONF|NGX_CONF_NOARGS, ngx_http_upstream_ip_hash, 0, 0, NULL }, ngx_null_command }; 没有特别的东西,除了指令属性是NGX_HTTP_UPS_CONF。这个属性表示该指令的适用范围是upstream{}。