Skip to content

Commit 561771c

Browse files
committed
chore: added http-to-https template
1 parent 6ff87eb commit 561771c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

template/block/http-to-https.conf

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Nginx UI Template Start
2+
# Name: HTTP to HTTPS
3+
# Description[en]: HTTP force redirect to HTTPS Config
4+
# Description[zh_CN]: HTTP 强制跳转 HTTPS 配置
5+
# Author: @0xJacky
6+
# Nginx UI Template End
7+
return 307 https://$server_name$request_uri;

0 commit comments

Comments
 (0)