I
I
Igor Petrov2020-11-05 22:18:24
Nginx
Igor Petrov, 2020-11-05 22:18:24

How to use http1 and http2 on the same nginx server with virtual hosts?

Good day, actually the question is how to use http1 and http2 on the same nginx server with virtual hosts? If you specify listen 443 ssl http2 on one virtual host, then all domains automatically switch to http2, how to separate them? please share your experience

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
ky0, 2020-11-05
@ky0

So you try to connect with HTTP/1.1 - it also works by default for clients that don't know how to 2.0.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question