diff --git a/template/block/http-to-https.conf b/template/block/http-to-https.conf new file mode 100644 index 00000000..8c4206d5 --- /dev/null +++ b/template/block/http-to-https.conf @@ -0,0 +1,7 @@ +# Nginx UI Template Start +# Name: HTTP to HTTPS +# Description[en]: HTTP force redirect to HTTPS Config +# Description[zh_CN]: HTTP 强制跳转 HTTPS 配置 +# Author: @0xJacky +# Nginx UI Template End +return 307 https://$server_name$request_uri;