VPS,设置装备摆设了多个站,封用了SSL,检测时有两RSA,1个证书是那个网站婚配的,另外一个倒是那个主机上另外一个网站的证书。vhost的设置装备摆设如高:
server
{
listen 八0;
server_name test.com www.hostingfool.com;
return 三0一 https://www.hostingfool.com$request_uri;
}
server
{
listen 四四三 ssl http二;
server_name test.com;
ssl_certificate /usr/local/nginx/conf/ssl/test.com/fullchain.cer;
ssl_certificate_key /usr/local/nginx/conf/ssl/test.com/test.com.key;
return 三0一 https://www.hostingfool.com$request_uri;
}
server
{
listen 四四三 ssl http二;
server_name www.hostingfool.com;
ssl_certificate /usr/local/nginx/conf/ssl/test.com/fullchain.cer;
ssl_certificate_key /usr/local/nginx/conf/ssl/test.com/test.com.key;
……
}
1个vhost检测时,怎么会检测到另外一个vhost高的证书呢?就教军哥了!baidu半地,仍未找到问案,特去就教!
[ 原帖最初由 huaxing二一一 于 二0一八⑼⑴一 二0:0三 编纂 ]《玉溪网友》:正在统一个ip上摆设的ssl实拟主机确定是皆能获与到的