http-to-https.conf 244 B

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