Firstsawyou commented on issue #3843: URL: https://github.com/apache/apisix/issues/3843#issuecomment-800886380
You can try to match the request through remote_addr, but the remote_addr option only supports a single IP configuration. Example: ```shell curl http://127.0.0.1:9080/apisix/admin/stream_routes/1 -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d ' { "remote_addr": "127.0.0.1", "upstream": { "nodes": { "172.16.10.242:6500": 1 }, "type": "roundrobin" } }' ``` ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
