You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "xx-zhang (via GitHub)" <gi...@apache.org> on 2024/12/10 08:17:41 UTC

Re: [I] bug: cannot load plugin_metadata in standalone mode [apisix]

xx-zhang commented on issue #10277:
URL: https://github.com/apache/apisix/issues/10277#issuecomment-2530759108

   @Revolyssup i have tried it in apisix.yaml with standalone. not effected; this is my issue 
   ![image](https://github.com/user-attachments/assets/0be635e6-79bb-4076-b929-a8abacddb438)
   ```yaml
   
   routes:
     - id: webgoat
       name: "webgoat.exmaple.com"
       uri: /webgoat
       upstream:
         nodes:
           "127.0.0.1:8080": 1
         type: roundrobin
       plugins:
         request-id:
           header_name: x-coraza-uuid
         coraza-waf: 
           # nodes:
           #   - host: "127.0.0.1"
           #     port: 65533 
         # page-403:
   
     - id: example
       # name: "Example Default"
       # host: "default.example.com"
       uri: /demo
       upstream:
         nodes:
           "127.0.0.1:80": 1
         type: roundrobin
       # methods:
       #   - GET
       #   - POST
       #   - PUT 
       # enable_websocket: true 
       # pass_host: pass
       # keepalive_pool:
       #   idle_timeout: 60 
       #   requests: 1000
       #   size: 320 
       # timeout:
       #   connect: 6
       #   send: 2 
       #   read: 2 
       plugins:
         request-id:
           header_name: x-coraza-uuid
         coraza-waf: 
           nodes:
             - host: "127.0.0.1"
               port: 65533
   
   plugin_metadata:
     - id: coraza-waf
       nodes:
         - host: "127.0.0.1"
           port: 65533
   
   #END
   
   ```
   
   https://github.com/apache/apisix/issues/11817
   
   apisix: 3.11 


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org