Routing based on ALPN
Wiktor Kwapisiewicz
wiktor at metacode.biz
Sun Feb 25 19:16:18 UTC 2018
>> Is there a way to access and save ALPN value to a variable?
>
> It should possible to parse the incoming buffer with https://nginx.org/r/js_filter and create a variable to make a routing decision on.
>
Excellent idea for quickly solving this problem, thanks!
Would a long term solution involve creating a new, additional variable
in the ssl_preread module (e.g. ssl_preread_alpn)?
I've seen something similar being done by HAProxy (ssl_fc_alpn [1]).
Kind regards,
Wiktor
[1]: https://cbonte.github.io/haproxy-dconv/1.8/configuration.html#7.3.4-ssl_fc_alpn
--
*/metacode/*
More information about the nginx
mailing list