http2需要ssl支持

server {
    listen              443 ssl http2; 

}