http强制转换https Posted 2020-12-18 suminem tags: 篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了http强制转换https相关的知识,希望对你有一定的参考价值。 nginx server { listen 80; server_name xx.xxxx.com; return 301 https://$server_name$request_uri; } 以上是关于http强制转换https的主要内容,如果未能解决你的问题,请参考以下文章