Nginx配置https并监听80端口重定向到443 1.进入nginx安装目录,进入config文件夹编辑nginx.conf文件 1 vim nginx.conf 配置端口 443 listen443http2 ssl default_server; ssl_certificate/etc/nginx/ssl/chain.pem; #ssl证书 ssl_certificate_key/etc/nginx/ssl/private.key; #ssl密钥 ssl_ciphers ECDHE-RSA-AES128...