mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-09 01:16:50 +08:00
更新 nginx.template.conf
This commit is contained in:
@@ -34,11 +34,6 @@ http {
|
|||||||
listen [::]:${NGINX_PORT};
|
listen [::]:${NGINX_PORT};
|
||||||
server_name moviepilot;
|
server_name moviepilot;
|
||||||
|
|
||||||
# HTTPS重定向
|
|
||||||
if ("${ENABLE_SSL}" = 'true') {
|
|
||||||
return 301 https://$host$request_uri;
|
|
||||||
}
|
|
||||||
|
|
||||||
# 公共配置
|
# 公共配置
|
||||||
include common.conf;
|
include common.conf;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user