ipv6nginx错误
400 Bad Request The plain HTTP request was sent to HTTPS port错误
参考官方文档解决方法如下:
server {
listen 80;
listen 443 ssl;
listen [::]:80 ipv6only=on;
listen [::]:443 ipv6only=on ssl;
server_name www.test.com;
root /alidata/www/test;
ssl_certificate /alidata/ssl/test.crt;
ssl_certificate_key/alidata/ssl/test.key;
}
删掉ssl on; 并在 listen 443; 443后加上ssl即可