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

7 lines
240 B
Plaintext

# Nginx UI Template Start
name = "HTTP to HTTPS"
author = "@0xJacky"
description = { en = "HTTP force redirect to HTTPS Config", zh_CN = "HTTP 强制跳转 HTTPS 配置"}
# Nginx UI Template End
return 307 https://$server_name$request_uri;