DataScript: avi.ssl.server_name

Function avi.ssl.server_name()
Description Returns the domain name requested through SNI (Server Name Indication). This name is pulled from the SSL Hello request, and may be different from the HTTP hostname field.
Parameter None
Returns A string of the requested SNI name.
Example Insert a header declaring the SNI name requested by the client.
avi.http.add_header("X-SNI ", avi.ssl.server_name())

Updated: 2018-01-19 07:13:14 +0000