标签:xxx host http https ret lis list nginx uri
80前置跳转443
server {
listen 80;
server_name xxx.com;
return 301 https://$server_name$request_uri; #server_name有多个,$server_name可换成$host
}
下面加你的https配置server
标签:xxx host http https ret lis list nginx uri
原文地址:https://www.cnblogs.com/cntzyw/p/13181472.html