You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nginx-ui/template/block/http-to-https.conf

8 lines
244 B
Plaintext

# 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;