您现在的位置是:亿华云 > IT科技

Web服务器Nginx环境下如何实现安全证书Https的配置

亿华云2025-10-09 01:30:24【IT科技】4人已围观

简介复制server { listen443; server_namewww.iivey.com; indexind

Web服务器Nginx环境下如何实现安全证书Https的配置
环何实复制server   {    listen 443;   server_name www.iivey.com;   indexindex.php index.html;   root /data/webhtdocs/iivey;   ssl                        on;   ssl_certificate                iivey.crt;   ssl_certificate_key            iivey.key;   ssl_prefer_server_ciphers  on;   ssl_protocols              TLSv1 TLSv1.1 TLSv1.2;   ssl_ciphers                HIGH:!aNULL:!MD5;   add_header X-Frame-Options DENY;   add_header X-Content-Type-Options nosniff;   add_header X-Xss-Protection 1;   }  1.2.3.4.5.6.7.8.9.10.11.12.13.14.15.16.

很赞哦!(8993)