Przeglądaj źródła

Merge pull request #5216 from gbonfiglio/master

fix broken nginx ipv6 listeners
master
Дамян Минков 5 lat temu
rodzic
commit
e00036d44a
No account linked to committer's email address

+ 1
- 0
debian/jitsi-meet-turnserver.postinst Wyświetl plik

97
             NGINX_STREAM_CONFIG="/etc/nginx/modules-enabled/60-jitsi-meet.conf"
97
             NGINX_STREAM_CONFIG="/etc/nginx/modules-enabled/60-jitsi-meet.conf"
98
             if [ -f $NGINX_STREAM_CONFIG ] && [ -f $NGINX_CONFIG ] ; then
98
             if [ -f $NGINX_STREAM_CONFIG ] && [ -f $NGINX_CONFIG ] ; then
99
                 sed -i "s/listen 443 ssl/listen 4444 ssl http2/g" $NGINX_CONFIG
99
                 sed -i "s/listen 443 ssl/listen 4444 ssl http2/g" $NGINX_CONFIG
100
+                sed -i "s/listen \[\:\:\]\:443 ssl/listen \[\:\:\]\:4444 ssl http2/g" $NGINX_CONFIG
100
                 invoke-rc.d nginx reload || true
101
                 invoke-rc.d nginx reload || true
101
             fi
102
             fi
102
 
103
 

+ 2
- 0
doc/debian/jitsi-meet/jitsi-meet.example Wyświetl plik

2
 
2
 
3
 server {
3
 server {
4
     listen 80;
4
     listen 80;
5
+    listen [::]:80;
5
     server_name jitsi-meet.example.com;
6
     server_name jitsi-meet.example.com;
6
 
7
 
7
     location ^~ /.well-known/acme-challenge/ {
8
     location ^~ /.well-known/acme-challenge/ {
17
 }
18
 }
18
 server {
19
 server {
19
     listen 443 ssl;
20
     listen 443 ssl;
21
+    listen [::]:443 ssl;
20
     server_name jitsi-meet.example.com;
22
     server_name jitsi-meet.example.com;
21
 
23
 
22
     ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
24
     ssl_protocols TLSv1 TLSv1.1 TLSv1.2;

Ładowanie…
Anuluj
Zapisz