服务器Nginx配置实现Https域名
配置443端口实现https访问在http{}中加入如下代码
12345678910111213141516171819server{ listen 443 ssl; server_name .你的域名; charset utf-8; ssl_certificate /etc/nginx/ssl/域名的crt证书; ssl_certificate_key /etc/nginx/ssl/域名的key证书; ssl_protocols TLSv1 TLSv1.1 TLSv1.2; access_log /var/log/nginx/nginx-uwsgi.l ...