server { listen 80; server_name example.com; # HTTP重定向到HTTPS rewrite ^(.*)$ https://$host$1 permanent; }
Powered by: 博客园 Copyright © 2024 shenyixin Powered by .NET 8.0 on Kubernetes