标签:key文件 perm 项目 复制 clu 数值 include span 测试
14341,14342,14343
/home/ssl/xxx.crt /home/ssl/xxx.key
/usr/local/nginx/conf/nginx.conf
worker_processes 1; events { worker_connections 1024; } http { include mime.types; default_type application/octet-stream; sendfile on; keepalive_timeout 65; upstream paint { server 127.0.0.1:14341 weight=2; server 127.0.0.1:14342 weight=1; server 127.0.0.1:14343 weight=1; } server { listen 443 ssl; server_name www.xxx.com xxx.com; ssl_certificate /home/ssl/xxx.crt; ssl_certificate_key /home/ssl/xxx.key; ssl_session_timeout 5m; ssl_protocols TLSv1 TLSv1.1 TLSv1.2; ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:HIGH:!aNULL:!MD5:!RC4:!DHE; ssl_prefer_server_ciphers on; location / { proxy_pass http://paint; } } server { listen 80; server_name www.xxx.com xxx.com; rewrite ^(.*)$ https://${server_name}$1 permanent; } }
springboot+nginx+https+linux实现负载均衡加域名访问简单测试
标签:key文件 perm 项目 复制 clu 数值 include span 测试
原文地址:https://www.cnblogs.com/b516/p/10916522.html