forget99 commented on issue #9709:
URL: https://github.com/apache/apisix/issues/9709#issuecomment-1605814269

   > @forget99 Can you paste the full access log where path is also visible? 
Can you also share the business logic of your `AuthFilter` plugin that is 
running ?
   
   
当在配置路由时,只配置了前置插件(ext-plugin-pre-req),并且配置了域名重写,此时通过apisix调用上游服务(https服务,只支持域名访问,不支持ip
 + post)是调用成功的。
   `{
     "uri": "/test-api/*",
     "name": "测试api",
     "desc": "测试api",
     "methods": [
       "GET",
       "POST"
     ],
     "plugins": {
       "ext-plugin-pre-req": {
         "allow_degradation": true,
         "conf": [
           {
             "name": "AuthFilter",
             "value": "authFilter"
           }
         ],
         "disable": false
       },
       "proxy-rewrite": {
         "host": "test.com",
         "regex_uri": [
           "^/test-api(/|$)(.*)",
           "/$2"
         ],
         "use_real_request_uri_unsafe": false
       }
     },
     "service_id": "1671453424892182530",
     "labels": {
       "API_VERSION": "v1"
     },
     "status": 1
   }`
   
   此时调用的 access.log 日志信息如下:
   
   
   
   
   
   
   
   
   


-- 
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]

Reply via email to