zhangxin-github opened a new issue, #415:
URL: https://github.com/apache/apisix-docker/issues/415
`{
"uri": "/index.html",
"name": "web1",
"methods": [
"GET",
"POST",
"PUT",
"DELETE",
"PATCH",
"HEAD",
"OPTIONS",
"CONNECT",
"TRACE",
"PURGE"
],
"plugins": {
"hmac-auth": {
"disable": true
},
"proxy-rewrite": {
"uri": "/web1"
}
},
"upstream_id": "445336888039965385",
"labels": {
"API_VERSION": "v1"
},
"status": 1
}`
在路由配置中已经关闭了hamc插件,但是请求时还是会调用hmac:
`2023/01/29 07:24:22 [warn] 55#55: *744503 [lua] hmac-auth.lua:430:
phase_func(): client request can't be validated: access key or signature
missing, client: 172.24.0.1, server: _, request: "GET
/index.html?name=james&age=36 HTTP/1.1", host: "192.168.10.1:9080"
2023/01/29 07:24:22 [warn] 55#55: *744503 [lua] plugin.lua:1098:
run_plugin(): hmac-auth exits with http status code 401, client: 172.24.0.1,
server: _, request: "GET /index.html?name=james&age=36 HTTP/1.1", host:
"192.168.10.1:9080"`
--
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]