-
Issue description能不能开启jwt功能,关闭获取jwt token的接口,客户自己根据我们提供的key等信息自己生成token,我们只做token验证 Environment
|
Beta Was this translation helpful? Give feedback.
Answered by
laokan
Oct 8, 2021
Replies: 1 comment
-
可以利用 interceptors 把url 保护一下 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
tzssangglass
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 保护一下