qiqizjl opened a new issue #5041:
URL: https://github.com/apache/apisix/issues/5041


   ### Issue description
   
   Now you must specify ``http`` or ``https`` in the ``Scheme``. If you need to 
support http/https at the same time, you must configure two Route or Upstream. 
How to merge these two configurations? When ``http`` request is forwarded to 
the backend through ``http``, if it is ``https, use https ``
   
   --------
   
   
现在在Scheme处必须指定是http还是https。如果需要同时支持http/https就必须配置两个Route和Upstream。这两个配置如何合并?http请求的时候通过http转发至后端,如果是https则使用https
   
   ### Environment
   
   - apisix version (cmd: `apisix version`):2.9
   - OS (cmd: `uname -a`):Linux ** 4.19.91-24.1.al7.x86_64 #1 SMP Wed Jul 21 
17:40:23 CST 2021 x86_64 x86_64 x86_64 GNU/Linux
   - OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`): nginx 
version: openresty/1.19.9.1
   - etcd version, if have (cmd: run `curl 
http://127.0.0.1:9090/v1/server_info` to get the info from server-info API): 
3.4.0
   - apisix-dashboard version, if have: 2.8
   - luarocks version, if the issue is about installation (cmd: `luarocks 
--version`): 3.3.1
   


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