2021-04-14发表2024-03-18更新nginx几秒读完 (大约78个字)nginx-sslnginx ssl 80 nginx.conf12345server { listen 80; server_name domain.com; rewrite ^/(.*)$ https://domain.com:443/$1 permanent;} 443 nginx.conf1234567891011121314server { listen 443 ssl; server_name domain.com; ssl_certificate /etc/ssl/1_domain.com_bundle.crt; ssl_certificate_key /etc/ssl/2_domain.com.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 / { root /home/public; index index.html index.htm; }}nginx-sslhttps://orzsoft.com/post/fea0b5e0-9d03-11eb-993e-55c5d8dc87e2/作者orzMaster发布于2021-04-14更新于2024-03-18许可协议#conf