本页面只读。您可以查看源文件,但不能更改它。如果您觉得这是系统错误,请联系管理员。 ====== nginx http转https 301跳转====== <code> server { listen 80; listen [::]:80; server_name _; access_log off; return 301 https://$host$request_uri; } </code> 其中 _ 表示匹配所有未明确定义的主机名。