more updates march
This commit is contained in:
26
jitsi/web/rootfs/defaults/default
Normal file
26
jitsi/web/rootfs/defaults/default
Normal file
@@ -0,0 +1,26 @@
|
||||
server {
|
||||
listen 80 default_server;
|
||||
|
||||
{{ if .Env.ENABLE_IPV6 | default "1" | toBool }}
|
||||
listen [::]:80 default_server;
|
||||
{{ end }}
|
||||
|
||||
{{ if .Env.ENABLE_HTTP_REDIRECT | default "0" | toBool }}
|
||||
return 301 https://$host$request_uri;
|
||||
{{ else }}
|
||||
include /config/nginx/meet.conf;
|
||||
{{ end }}
|
||||
}
|
||||
|
||||
{{ if not (.Env.DISABLE_HTTPS | default "0" | toBool) }}
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
|
||||
{{ if .Env.ENABLE_IPV6 | default "1" | toBool }}
|
||||
listen [::]:443 ssl http2;
|
||||
{{ end }}
|
||||
|
||||
include /config/nginx/ssl.conf;
|
||||
include /config/nginx/meet.conf;
|
||||
}
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user