Ver código fonte

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 anos atrás
pai
commit
0e16008085
Nenhuma conta vinculada ao e-mail do autor do commit
1 arquivos alterados com 2 adições e 3 exclusões
  1. 2
    3
      doc/debian/jitsi-meet/jitsi-meet.conf

+ 2
- 3
doc/debian/jitsi-meet/jitsi-meet.conf Ver arquivo

@@ -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
 

Carregando…
Cancelar
Salvar