Answer the question
In order to leave comments, you need to log in
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
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 questionAsk a Question
731 491 924 answers to any question