You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/09/11 10:04:26 UTC

[GitHub] [apisix] qiqizjl commented on issue #5041: request help: Does it support follow back to the source?

qiqizjl commented on issue #5041:
URL: https://github.com/apache/apisix/issues/5041#issuecomment-917379867


   If you increase http_auto in Scheme. And according to ngx.var.scheme to set upstream_scheme. In the load balancing port, just follow the Scheme to get the corresponding port?
   If http_auto is enabled in this way, the port cannot be set, and it is automatically matched by the protocol? 
   
   ----
   如果在Scheme中增加http_auto。并且根据ngx.var.scheme去设置upstream_scheme。在负载均衡的port中,按照Scheme去获取对应的port就可以? 
   如果这样开启了http_auto就无法设置port,由协议自动匹配?
   
   Demo:
   ![image](https://user-images.githubusercontent.com/7540584/132944196-12e64a85-5b27-4810-8aea-610b4ed0eb52.png)
   ![image](https://user-images.githubusercontent.com/7540584/132944208-c9cfc0d9-db14-4e48-81f8-d8c4df09136e.png)
   ![image](https://user-images.githubusercontent.com/7540584/132944202-8fede6b3-8af8-4f26-9f2c-6b958d32f382.png)
   
   


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org