liangliang4ward opened a new issue #2338:
URL: https://github.com/apache/apisix-dashboard/issues/2338


   ### Issue description
   
   
![image](https://user-images.githubusercontent.com/3895272/155442941-dfdd06fc-9c57-426e-9b62-e7e46720d2f0.png)
   
   but use apisix admin api is ok
   ```shell
   curl http://127.0.0.1:9080/apisix/admin/routes/1 -H 'X-API-KEY: 
edd1c9f034335f136f87ad84b625c8f1' -X PUT -i -d '
   {
     "uris": [
       "/blog/*"
     ],
     "name": "11",
     "plugins": {
       "proxy-rewrite": {
         "regex_uri": [
           "/blog/(.*)",
           "/$1"
         ],
         "scheme": "http"
       }
     },
     "upstream": {
       "nodes": [
         {
           "host": "192.168.0.1",
           "port": 80,
           "weight": 1
         },
         {
           "host": "192.168.0.2",
           "port": 80,
           "weight": 1
         }
       ],
       "type": "roundrobin",
       "hash_on": "vars",
       "scheme": "http",
       "pass_host": "node"
     },
     "status": 1
   }'
   
   ```
   
   ### Expected behavior
   
   through dashboard can add upstream multi node when pass_host=node
   
   ### How to Reproduce
   
   ...
   
   ### Screenshots
   
   _No response_
   
   ### Environment
   
   - apisix version (cmd: `apisix version`): 2.12.1
   - OS (cmd: `uname -a`):
   - OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`):
   - etcd version, if have (cmd: run `etcd --version`):
   - apisix-dashboard version, if have:
   - Browser version, if have:
   
   
   ### Additional context
   
   _No response_


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