标签: SSL

1 篇文章

Nginx从HTTP跳转到HTTPS
1、使用rewrite指令 server { listen 80; server_name domain.com; rewrite ^(.*) https://$server_name$1 permanent; #或 #rewrite ^(.*) https://www.xxxxx.com$1 permanent; #或 #rewrite ^(.*…