diff --git a/docker/nginx.template.conf b/docker/nginx.template.conf index 7577f2af..3716b577 100644 --- a/docker/nginx.template.conf +++ b/docker/nginx.template.conf @@ -35,7 +35,7 @@ http { server_name moviepilot; # HTTPS重定向 - if (${ENABLE_SSL} = 'true') { + if ("${ENABLE_SSL}" = 'true') { return 301 https://$host$request_uri; }