laokan commented on issue #5179:
URL: https://github.com/apache/apisix/issues/5179#issuecomment-938459642
`curl -i -X PUT \
-H "Content-Type:application/json" \
-H "X-API-KEY:edd1c9f034335f136f87ad84b625c8f1" \
-d \
'{
"interceptors": [
{
"name": "ip-restriction",
"conf": {
"whitelist": ["10.0.0.0/8"]
}
}
]
}' \
'http://apisix:9080/apisix/admin/plugin_metadata/prometheus'`
可以利用 interceptors 把url 保护一下
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]