wgy-home commented on issue #532:
URL: 
https://github.com/apache/apisix-ingress-controller/issues/532#issuecomment-855699025


   My YAML configuration is wrong, need to add config
   
   ```yaml
   apiVersion: apisix.apache.org/v2alpha1
   kind: ApisixRoute
   metadata:
     name: test
   spec:
     http:
       - name: test
         match:
           hosts:
           - test.cn
           paths:
             - /*
         backends:
           - serviceName: test-svc
             servicePort: 80
         plugins:
           - name: jwt
             enable: true
                 config:
                 redis_host: 10.200.99.2
                 redis_port: '6379'
                 whitelist_uri:
                   - /api/pad/user/logi
   ```


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to