mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 02:15:48 +02:00
chore: added http-to-https template
This commit is contained in:
parent
6ff87eb425
commit
561771cf10
1 changed files with 7 additions and 0 deletions
7
template/block/http-to-https.conf
Normal file
7
template/block/http-to-https.conf
Normal file
|
@ -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;
|
Loading…
Add table
Add a link
Reference in a new issue