VPS侦探论坛
标题:
nginx http2报警告内容,有没有人遇到过?
[打印本页]
作者:
zhuzhu0628
时间:
2024-4-21 11:04
标题:
nginx http2报警告内容,有没有人遇到过?
nginx: [warn] protocol options redefined for 0.0.0.0:443 in /usr/local/nginx/conf/vhost/xxxx.com.conf
这几天把nginx搞成http2了,SSL也搞成1.3了
listen 443 ssl http2;
#listen [::]:80;
server_name xxxx.com;
index index.html index.htm index.php default.html default.htm default.php;
root /www/web/m/www;
ssl_certificate ssl/xxxx.com.crt;
ssl_certificate_key ssl/xxxx.com.key;
ssl_session_timeout 5m;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3;
ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:HIGH:!aNULL:!MD5:!RC4:!DHE;
ssl_prefer_server_ciphers on;
复制代码
虽然出现了这个警告,但是能正常运行,就是不知道什么问题,有没有人知道怎么解决?
欢迎光临 VPS侦探论坛 (https://bbs.lnmp.com/)
Powered by Discuz! X3.4