channer99 commented on issue #10688:
URL: https://github.com/apache/apisix/issues/10688#issuecomment-1867295892

   @sheharyaar 
   
   route config is 
   `{
     "uri": "/test*",
     "name": "test",
     "methods": [
       "GET",
       "POST",
       "PUT",
       "DELETE",
       "PATCH",
       "OPTIONS"
     ],
     "plugins": {
       "ext-plugin-pre-req": {
         "_meta": {
           "disable": false
         },
         "allow_degradation": false,
         "conf": [
           {
             "name": "Test_filter",
             "value": 
"{\"rejected_body2\":\"failed\",\"rejected_code2\":\"403\"}"
           }
         ]
       },
     },
     "upstream_id": "473424305712006806",
     "status": 1
   }`
   
   apisix config.yaml
   `apisix:
     node_listen:
         - port: 80
     ssl:
       enable: false
   
   deployment:
     role: traditional
     role_traditional:
       config_provider: etcd
     admin:
       allow_admin:
         - all
       admin_listen:
           port: 9180
       admin_key:
         - name: admin
           key: edd1c9f034335f136f87ad84b625c8f1  # using fixed API token has 
security risk, please update it when you deploy to production environment
           role: admin
     etcd:
       host:
         - "http://xxx.xx.xxx.xxx:2379";
   
   nginx_config:
     enable_cpu_affinity: |
         true;
     http_configuration_snippet: |
         client_body_buffer_size 10m;
         proxy_max_temp_file_size 0;
     http_server_configuration_snippet: |
         merge_slashes off;
         proxy_ignore_client_abort on;
   
   ext-plugin:
     cmd: ['java', '-jar', '-Xmx1g', '-Xms1g', 
'/usr/local/apisix/test_filter.jar']`
   


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