gy09535 opened a new issue #3113:
URL: https://github.com/apache/apisix/issues/3113


   ### Issue description
   When we set upstream in dashboard ,the value of "upstream.pass_host"  not  
be set, after that we set the nodes with domain, the domain value should be set 
to the backend node, but it not be set. because of the pass_host default value 
is. pass( ref: 
https://github.com/apache/apisix/blob/master/apisix/schema_def.lua#L360 ), it 
can not execute the node host set logical(ref: 
https://github.com/apache/apisix/blob/master/apisix/init.lua#L306-L327 and 
https://github.com/apache/apisix/blob/master/apisix/init.lua#L467-L473). I have 
fixed it change the upstream default value to node, I think it is not a good 
idea, we should add the config in dashboard ui 2.0.
   
   
   
   ### Environment
   
   * apisix version (cmd: `apisix version`):
   * OS: (cmd: `uname -a`)
   * OpenResty / Nginx version: (cmd: `nginx -V` or `openresty -V`)
   
   ### Minimal test code / Steps to reproduce the issue
   1.
   2.
   3.
   
   ### What's the actual result? (including assertion message & call stack if 
applicable)
   
   
   
   ### What's the expected result?
   


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