[GitHub] [apisix] tokers commented on issue #3864: bug: Upstream SNI should also be rewritten when the upstream host is rewritten

2021-03-25 Thread GitBox


tokers commented on issue #3864:
URL: https://github.com/apache/apisix/issues/3864#issuecomment-807878251


   Yep.


-- 
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:
us...@infra.apache.org




[GitHub] [apisix] tokers commented on issue #3864: bug: Upstream SNI should also be rewritten when the upstream host is rewritten

2021-03-23 Thread GitBox


tokers commented on issue #3864:
URL: https://github.com/apache/apisix/issues/3864#issuecomment-805393670


   > How to fix it? Are there any guides?
   
   We should set the `proxy_ssl_name` directive with the `upstream_host` 
variable.
   
   ```nginx
   proxy_ssl_name $upstream_host;
   ```
   
   Currently, the value of `proxy_ssl_name` is `$host`, which won't be changed 
even if the host to upstream was rewritten.


-- 
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:
us...@infra.apache.org