Hi, I want to ask if this feature is currently under development or has been merged into the trunk branch, "Extract the host from the proxy-rewrite plugin into the upstream object” .
In addition, the routes object also has a host configuration, but in some specific scenarios, there will be multiple domain names corresponding to this route or a group of routes. I think it is more appropriate for the host to be placed in the service object? Or is there any other better way to use routes? Thanks, yousa On 2020/01/02 06:53:35, YuanSheng Wang <m...@gmail.com> wrote: > Hi:> > > Supports more upstream parameters in `service`, this will make APISIX> > easier to use.> > > What do you think?> > > For example: up_path, up_host, up_port or up_scheme.> > > curl -i http://127.0.0.1:9080/apisix/admin/services/1 -X PUT -d '> > {> > "upstream": {> > "type": "roundrobin",> > "nodes": {> > "39.97.63.215:80": 1> > }> > },> > "up_path": "/index.html",> > "up_host": "foo.com",> > "up_scheme": "http"> > }'> > > curl -i http://127.0.0.1:9080/apisix/admin/services/1 -X PUT -d '> > {> > "upstream": {> > "type": "roundrobin",> > "nodes": {> > "39.97.63.215:80": 1> > }> > },> > "up_host": "foo.com",> > "up_scheme": "https"> > }'> > > -- > > > *MembPhis*> > My github: https://github.com/membphis> > Apache APISIX: https://github.com/apache/incubator-apisix> >