ngx_http_multiple_ssl_module - Enable Dynamic Load Multiple SSL On Virtual Host Using SNI.
The module was scrapped, Because nginx already supports it.
ssl_certificate ${host}.rsa.crt;
ssl_certificate_key ${host}.rsa.key;
./configure --prefix=/usr/local/nginx --with-http_ssl_module --add-module=github.com/vislee/ngx_http_multiple_ssl_module
server {
listen 443 ssl default;
server_name -;
ssl_certificate cert.pem;
ssl_certificate_key cert.key;
multiple_ssl on;
multiple_ssl_cert_path ./conf/;
multiple_ssl_servernames *.vis.com vis.com.crt;
multiple_ssl_servernames www.vislee.com vis.com.crt;
ssl_session_cache shared:SSL:1m;
ssl_session_timeout 5m;
ssl_ciphers HIGH:!aNULL:!MD5;
ssl_prefer_server_ciphers on;
location / {
proxy_pass http://127.0.0.1;
}
}
syntax: multiple_ssl <on|off>
default: off
context: server
Enable Dynamic load multiple certificates.
syntax: multiple_ssl_cert_path path
default: no
context: http,server
Specify the certificate path.
The default cert file format:
hostname.crt
hostname.key
syntax: multiple_ssl_servernames servername crt
default: no
context: server
Specify the mapping of servername and certificate.
wenqiang li(vislee)
This module is licensed under the BSD license.
Copyright (C) 2014-2019, by vislee.
All rights reserved.