Bläddra i källkod

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.
master
Dara Poon 5 år sedan
förälder
incheckning
0e16008085
Inget konto är kopplat till bidragsgivarens mejladress
1 ändrade filer med 2 tillägg och 3 borttagningar
  1. 2
    3
      doc/debian/jitsi-meet/jitsi-meet.conf

+ 2
- 3
doc/debian/jitsi-meet/jitsi-meet.conf Visa fil

@@ -11,9 +11,8 @@ stream {
11 11
     }
12 12
     # since 1.13.10
13 13
     map $ssl_preread_alpn_protocols $upstream {
14
-        "h2"            web;
15
-        "http/1.1"      web;
16
-        "h2,http/1.1"   web;
14
+        ~\bh2\b         web;
15
+        ~\bhttp/1\.     web;
17 16
         default         turn;
18 17
     }
19 18
 

Laddar…
Avbryt
Spara