Files
jitsi-meet-deployment/web/rootfs/defaults/default
2019-01-28 23:11:03 +01:00

19 lines
358 B
Plaintext

server {
listen 80 default_server;
{{ 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;
include /config/nginx/ssl.conf;
include /config/nginx/meet.conf;
}
{{ end }}