How to config SSL termination?

Reading previous posts it seems that “req.ssl_sni” is used for SSL termination while “ssl_fc_sni” is used for SSL pass through.

But now “req.ssl_sni” is marked as deprecated in the docs. What to use now for SSL termination?

afaik:

It’s the other way around: req.ssl_sni is for passthrough and ssl_fc_sni for termination (what the docs tell me).

req_ssl_sni is deprecated, req.ssl_sni is not.