nic-6443 commented on code in PR #12551: URL: https://github.com/apache/apisix/pull/12551#discussion_r2347756462
########## apisix/cli/schema.lua: ########## @@ -259,6 +259,14 @@ local config_schema = { default = false, description = "a global switch to disable upstream health checks", }, + trusted_addresses = { Review Comment: ref: https://github.com/apache/apisix/blob/bb71dfc8c62d41915a4c66f53682d1bbb18ab297/apisix/plugins/real-ip.lua#L32-L36 we can add more restrction in schema like this. ########## apisix/cli/schema.lua: ########## @@ -259,6 +259,14 @@ local config_schema = { default = false, description = "a global switch to disable upstream health checks", }, + trusted_addresses = { Review Comment: ref: https://github.com/apache/apisix/blob/bb71dfc8c62d41915a4c66f53682d1bbb18ab297/apisix/plugins/real-ip.lua#L32-L36 we can add more restrction to schema like this. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org