server {

    listen 443 ssl http2;  #必须是https才有http2
    
    ............