File tree 2 files changed +10
-0
lines changed 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -352,6 +352,10 @@ JIBRI_LOGS_DIR=/config/logs
352
352
# Necessary for Let's Encrypt, relies on standard HTTPS port (443)
353
353
#ENABLE_HTTP_REDIRECT=1
354
354
355
+ # Enable IPv6
356
+ # Provides means to disable IPv6 in environments that don't support it (get with the times, people!)
357
+ #ENABLE_IPV6=1
358
+
355
359
# Container restart policy
356
360
# Defaults to unless-stopped
357
361
RESTART_POLICY=unless-stopped
Original file line number Diff line number Diff line change 1
1
server {
2
2
listen 80 default_server;
3
+
4
+ {{ if .Env.ENABLE_IPV6 | default "1" | toBool }}
3
5
listen [::]:80 default_server;
6
+ {{ end }}
4
7
5
8
{{ if .Env.ENABLE_HTTP_REDIRECT | default "0" | toBool }}
6
9
return 301 https://$host$request_uri;
@@ -12,7 +15,10 @@ server {
12
15
{{ if not (.Env.DISABLE_HTTPS | default "0" | toBool) }}
13
16
server {
14
17
listen 443 ssl http2;
18
+
19
+ {{ if .Env.ENABLE_IPV6 | default "1" | toBool }}
15
20
listen [::]:443 ssl http2;
21
+ {{ end }}
16
22
17
23
include /config/nginx/ssl.conf;
18
24
include /config/nginx/meet.conf;
You can’t perform that action at this time.
0 commit comments