Nginx SSL证书被其他证书覆盖

时间:2015-02-01 01:00:07

标签: ssl nginx

server {
    server_name
        thepage.com.ar
        www.thepage.com.ar;
    location / {
        return  404;
    }
}
server {
        listen 443 ssl;

        ssl_certificate /etc/nginx/ssl/tracker.thepage.com.ar.crt;
        ssl_certificate_key /etc/nginx/ssl/tracker.thepage.com.ar.key;

    server_name 
        tracker.thepage.com.ar;
    location / {
        proxy_pass http://tracker.intranet.thepage.com.ar;
    }
}
server {
    listen  80;
    server_name
        tracker.thepage.com.ar;
    return  301 https://$server_name$request_uri;
}
server {
        listen  80;
        server_name
                repos.thepage.com.ar;
        return  301 https://$server_name$request_uri;
}
server {
    listen 443 ssl;

    ssl_certificate /etc/nginx/ssl/repos.thepage.com.ar.crt;
    ssl_certificate_key /etc/nginx/ssl/repos.thepage.com.ar.key;

        server_name
                repos.thepage.com.ar;
        location / {
        client_max_body_size 50m;
                proxy_pass http://repos.tracker.intranet.thepage.com.ar;
        }
}

当我对tracker.thepage.com.ar服务器(ssl和normal)发表评论时,repos.thepage.com.ar的证书指纹是正确的。

当tracker.thepage.com.ar被取消注释时,repos.thepage.com.ar的指纹与tracker.thepage.com.ar相同,

我如何识别问题?

0 个答案:

没有答案