You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
310 B
18 lines
310 B
server {
|
|
listen 80 default_server;
|
|
|
|
{{ if .Env.ENABLE_HTTP_REDIRECT }}
|
|
return 301 https://$host$request_uri;
|
|
{{ else }}
|
|
include /config/nginx/meet.conf;
|
|
{{ end }}
|
|
}
|
|
|
|
{{ if not .Env.DISABLE_HTTPS }}
|
|
server {
|
|
listen 443 ssl;
|
|
|
|
include /config/nginx/ssl.conf;
|
|
include /config/nginx/meet.conf;
|
|
}
|
|
{{ end }}
|
|
|