by follow guide line of jetty document i can configuration to deploy http2 with bellow model
client (web browse) connect to haproxy by http2 haproxy connect to upstream server by tcp in h2c http://www.eclipse.org/jetty/documentation/9.4.x/http2-configuring-haproxy.html#http2-haproxy-cfg now i want to try configuration same for nginx (nginx already support http2). bellow configuration help me active http2 on nginx. client (web browse) connect to nginx by http2 but nginx connect to upstream server by http1 anyone can advice me how to configuration to nginx connect to upstream by tcp in h2c? server { listen 443 ssl http2; server_name test.hieplq.xyz; listen [::]:443 ssl http2; ssl_prefer_server_ciphers on; ssl_certificate /etc/nginx/ssl/1_hieplq.xyz_bundle.crt; ssl_certificate_key /etc/nginx/ssl/ssl.key; ssl_dhparam /etc/nginx/ssl/dhparam.pem; ssl_session_timeout 1d; ssl_session_cache shared:SSL:50m; ssl_session_tickets off; add_header Strict-Transport-Security max-age=15768000; ssl_stapling on; ssl_stapling_verify on; ssl_protocols TLSv1.2; ssl_ciphers 'ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256'; location / { proxy_pass http://localhost:8080; } } -- Lê Quý Hiệp Email: [email protected] Skype: admin.hasuvimex *Company: **Thanh Hoa Fishery Import - Export J.s.c (**Hasuvimex) DL 47* *Add:* Lot E, Le Mon Industrial Zone, Thanh Hoa, Vietnam
_______________________________________________ jetty-users mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/jetty-users
