2017-11-27发表2023-02-15更新Linux几秒读完 (大约80个字)0次访问nginx防止被其他域名恶意解析在nginx对应配置文件中增加以下配置: 12345678910111213server { listen 80 default_server; listen 443 ssl default_server; ssl_certificate 证书路径; ssl_certificate_key 证书路径; ssl_ciphers "EECDH+CHACHA20:EECDH+CHACHA20-draft:EECDH+AES128:RSA+AES128:EECDH+AES256:RSA+AES256:EECDH+3DES:RSA+3DES:!MD5"; ssl_protocols TLSv1 TLSv1.1 TLSv1.2; ssl_prefer_server_ciphers on; ssl_session_cache shared:SSL:10m; server_name _; access_log off; return 403;}nginx防止被其他域名恶意解析https://www.stonewu.com/post/nginx-domain-resolution-security.html作者StoneWu发布于2017-11-27更新于2023-02-15许可协议#LinuxRedis