spdy-http2 / node-spdy

SPDY server on Node.js
2.81k stars 196 forks source link

question: can I allow plain and http2 at the same time? #372

Open andykais opened 4 years ago

andykais commented 4 years ago

Hi, I want to know if I can enable plain http protocol for http1.1 and https for http2 in the same web server.

The use case is a local web app. I want users to be able to take advantage of http2 speed, but also use http1.1 over plaintext if they do not want to set up certs locally or deal with the advanced -> proceed to unsafe option.

masx200 commented 4 years ago

https://github.com/masx200/http-https-spdy-http2-polyglot