1450793561 opened a new issue, #12302:
URL: https://github.com/apache/apisix/issues/12302

   ### Description
   
   Version 3.9.1 of Apisix does not take effect when configured according to 
the official proxy-rewrite plugin
   https://apache-apisix.netlify.app/zh/docs/apisix/3.9/plugins/proxy-rewrite/
   The following are the reproduction steps:
   
   
   
   1、The json execution is as follows
   ```
   {
     "uri": "/*",
     "name": "test-test",
     "host": "abc.12123.com",
     "plugins": {
       "proxy-rewrite": {
         "headers": {
           "add": {
             "X-Request-ID": "112233"
           },
           "remove": [
             "X-test"
           ],
           "set": {
             "X-Api-Engine": "apisix",
             "X-Api-Version": "v1",
             "X-Api-useless": ""
           }
         }
       }
     },
     "upstream": {
       "nodes": [
         {
           "host": "10.2.139.37",
           "port": 8088,
           "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
       }
     },
     "status": 1
   }
   ```
   
   
   2. The ui page can be viewed as follows
   
   <img width="685" alt="Image" 
src="https://github.com/user-attachments/assets/f2270620-54bc-40bf-be02-3fd47e117672";
 />
   
   
   3. The request url did not return the response header
   
   <img width="729" alt="Image" 
src="https://github.com/user-attachments/assets/22aa8a2d-b0b1-4459-ab52-59b8b176ed06";
 />
   
   ### Environment
   
   - APISIX version (run `apisix version`):
   - Operating system (run `uname -a`):
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
   - etcd version, if relevant (run `curl 
http://127.0.0.1:9090/v1/server_info`):
   - APISIX Dashboard version, if relevant:
   - Plugin runner version, for issues related to plugin runners:
   - LuaRocks version, for installation issues (run `luarocks --version`):
   


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