thor533 commented on issue #9421:
URL: https://github.com/apache/apisix/issues/9421#issuecomment-1537111916

   > and does not need install.
   > 
   > ```shell
   > make deps 
   > make run
   > make reload
   > ```
   
   My God, you are right, why does the official document not have the correct 
procedure.
   Big guy, I ran locally, but I didn't enter debug, could you please help me 
check? You are a good man.
   
![image](https://user-images.githubusercontent.com/62246176/236618823-ec804406-aad9-4bea-a752-2d670d4c8217.png)
   
   
   the route:
   ```
   {
     "uri": "/test/*",
     "name": "xx",
     "methods": [
       "GET",
       "POST",
       "PUT",
       "DELETE",
       "PATCH",
       "HEAD",
       "OPTIONS",
       "CONNECT",
       "TRACE",
       "PURGE"
     ],
     "plugins": {
       "ext-plugin-pre-req": {
         "conf": [
           {
             "name": "TokenValidator",
             "value": 
"{\"validate_header\":\"token\",\"validate_url\":\"https://www.sso.foo.com/token/validate\",\"rejected_code\":\"403\"}";
           }
         ]
       }
     },
     "upstream": {
       "nodes": [
         {
           "host": "10.210.21.105",
           "port": 9001,
           "weight": 1
         }
       ],
       "timeout": {
         "connect": 6,
         "send": 6,
         "read": 6
       },
       "type": "roundrobin",
       "scheme": "http",
       "pass_host": "pass",
       "keepalive_pool": {
         "idle_timeout": 60,
         "requests": 1000,
         "size": 320
       }
     },
     "labels": {
       "API_VERSION": "x"
     },
     "status": 1
   }
   ```
   
   


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