A
A
alex stephen2016-08-31 13:32:32
Nginx
alex stephen, 2016-08-31 13:32:32

How to leave http 1.1 in nginx for older browsers?

I want to transfer sites to http/2, but I looked at the statistics on old browsers in Can I Use , and realized that it is impossible to switch completely.
Is it possible (and how?) in nginx to issue different versions of HTTP depending on the browser (and OS, in the case of Donkey and Safari)?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Ukolov, 2016-08-31
@berezuev

Nothing else needs to be done, those who do not support h2 will get the old version anyway.
Another thing is that just including h2 is not enough and, in a good way, the front-end of the site needs to be rebuilt to take advantage of the new protocol, and these changes may negatively affect users with the old protocol.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question