From 0e16008085b36ee1af54359a367337a57d2ca29e Mon Sep 17 00:00:00 2001 From: Dara Poon Date: Sun, 5 Apr 2020 07:23:43 -0700 Subject: [PATCH] Use regexes to match ALPN protocols (#5651) nginx presents the client's list of ALPN protocols as $ssl_preread_alpn_protocols, a comma-separated string. Use regular expressions to match each item in the list, rather than the exact value of the entire list at once. --- doc/debian/jitsi-meet/jitsi-meet.conf | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/doc/debian/jitsi-meet/jitsi-meet.conf b/doc/debian/jitsi-meet/jitsi-meet.conf index 5d2a589f2..9c74f2178 100644 --- a/doc/debian/jitsi-meet/jitsi-meet.conf +++ b/doc/debian/jitsi-meet/jitsi-meet.conf @@ -11,9 +11,8 @@ stream { } # since 1.13.10 map $ssl_preread_alpn_protocols $upstream { - "h2" web; - "http/1.1" web; - "h2,http/1.1" web; + ~\bh2\b web; + ~\bhttp/1\. web; default turn; }