web: add ability to disable HTTPS
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.
This commit is contained in:
@@ -4,9 +4,11 @@ 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 }}
|
||||
|
||||
Reference in New Issue
Block a user