فهرست منبع

chore: added http-to-https template

0xJacky 2 سال پیش
والد
کامیت
561771cf10
1فایلهای تغییر یافته به همراه7 افزوده شده و 0 حذف شده
  1. 7 0
      template/block/http-to-https.conf

+ 7 - 0
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;