Skip to content

Commit

Permalink
chore: added http-to-https template
Browse files Browse the repository at this point in the history
  • Loading branch information
0xJacky committed Jan 28, 2023
1 parent 6ff87eb commit 561771c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions template/block/http-to-https.conf
Original file line number Diff line number Diff line change
@@ -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;

0 comments on commit 561771c

Please sign in to comment.