nginx https 配置 地址栏绿色而不是红色

server {
listen 443 ssl;
server_name api.juzibaojie.com;
root /data/web/xueche_api;

ssl_certificate /server/nginx-1.12.0/ssl/214563252830871.pem;
ssl_certificate_key /server/nginx-1.12.0/ssl/214563252830871.key;

ssl_session_cache shared:SSL:1m;
ssl_session_timeout 5m;

ssl_ciphers HIGH:!aNULL:!MD5;
ssl_prefer_server_ciphers on;

error_log /data/logs/nginx/api.juzibaojie.com.error.log;
access_log /data/logs/nginx/api.juzibaojie.com.access.log;
include common.conf;
}

发表评论

电子邮件地址不会被公开。