Hi, hope you're doing well these days.
On Mon, Oct 04, 2021 at 07:22:02AM -0400, petecooper wrote: > Hello. > > Per the documentation: > > > $ssl_cipher > > returns the name of the cipher used for an established SSL connection. > > This means `$ssl_cipher` returns e.g `TLS_CHACHA20_POLY1305_SHA256`. > Is it possible to return the corresponding hex value e.g. `0x1303` instead? I believe it's possible to use map in this case, https://nginx.org/en/docs/http/ngx_http_map_module.html -- Sergey Osokin _______________________________________________ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx