但是当使用https://sslanalyzer.comodoca.com工具打开时,出现错误:
被微软信任吗?否(无法获得本地发行人 证书)是否受Mozilla信任?否(无法到达本地 签发者证书)UNTRUSTED
怎么了? Nginx /服务器设置可能有问题吗?
软件:具有ginx / 1.10.3的Ubuntu 16
我的Nginx settigs:
server {
listen 80;
listen 443 ssl http2;
server_name .domain.com;
root "/var/www/w_domain.com";
index index.html index.htm index.php;
charset utf-8;
location / {
#try_files $uri $uri/ =404;
#try_files $uri $uri/ /index.php?q=$uri&$args;
index index.php index.html;
try_files $uri $uri/ /index.php?$args;
}
sendfile off;
client_max_body_size 20M;
location ~ /\.ht {
deny all;
}
ssl on;
ssl_certificate /etc/nginx/ssl/domain.com.crt;
ssl_certificate_key /etc/nginx/ssl/domain.com.key;
ssl_prefer_server_ciphers on;
}