If TLS is terminated elsewhere and then connections are proxied over HTTP, there is no need for it and it makes initialization a tad slower on the first run.
15 lines
212 B
Plaintext
15 lines
212 B
Plaintext
server {
|
|
listen 80 default_server;
|
|
|
|
include /config/nginx/meet.conf;
|
|
}
|
|
|
|
{{ if not .Env.DISABLE_HTTPS }}
|
|
server {
|
|
listen 443 ssl;
|
|
|
|
include /config/nginx/ssl.conf;
|
|
include /config/nginx/meet.conf;
|
|
}
|
|
{{ end }}
|