nginxの設定443 HTTPS

サーバー{
443 SSLを聞きます。
サーバー名はlocalhost。
上のSSL;
ssl_certificate D://newlingshou//nginx-1.12.2//keys//2796952_mlub.regentxcx.com.pem。
ssl_certificate_key D://newlingshou//nginx-1.12.2//keys//2796952_mlub.regentxcx.com.key。
ssl_session_cache共有:SSL:1メートルを。
ssl_session_timeout 5メートル。

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

    location / {
        root   html;
        index  index.html index.htm;
    }

位置/ SaleAideServer {
proxy_pass http://127.0.0.1:8701/saleAideServer
ルートHTML;
インデックスのindex.html index.htmを。
}

位置/ SaleAideServer2 {
proxy_pass http://127.0.0.1:8702/saleAideServer
ルートHTML;
インデックスのindex.html index.htmを。
}
}

ドメイン名の証明書について、あなたはnginxのの証明書のサブドメインを申請する必要があり

おすすめ

転載: www.cnblogs.com/bqh10086/p/11498755.html