-
Hello, community. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
OK, By debugging source code. APISIX parse SNI through |
Beta Was this translation helpful? Give feedback.
-
Hello, community. |
Beta Was this translation helpful? Give feedback.
-
OK, By debugging source code. APISIX parse SNI through |
Beta Was this translation helpful? Give feedback.
OK, By debugging source code. APISIX parse SNI through
ngx_ssl.server_name()
. openresty ssl mentioned that the API is for controlling NGINX downstream SSL handshakes, Which means openresty must do TLS handshake itself.Another way to parse SNI is by ngx.req.socket in preread_by_lua_block, but as mentioned in the doc, the consumed data couldn't be re-consumer.
Finally, envoy sni_dynamic_forward_proxy_filter could achieve my requirements.
Thanks