AlexSJC 的博客

配置 www 和 https 跳转

Nginx server { listen 80; return 301 https://$host$request_uri; } server { listen 80; listen 443 ssl; server_name example.com; return 301

AlexSJC AlexSJC 发布于 2024-08-07