nginx 怎么启动 433 port
发布网友
发布时间:2022-04-26 09:44
我来回答
共1个回答
热心网友
时间:2022-06-26 23:21
这里我们除了配置443端口,还购买了versign的证书,一并部署到nginx服务器上。
[html] view plain copy
server {
listen 443;
server_name www.111.com;
ssl on;
ssl_certificate /key/server.pem;
ssl_certificate_key /key/server.key;
ssl_client_certificate /key/root.cer;
ssl_session_timeout 5m;
ssl_protocols SSLv2 SSLv3 TLSv1;
ssl_ciphers ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP;
ssl_prefer_server_ciphers on;
location / {
root /111;
index index.html index.htm;
}
}