4

For testing purpose, I have been trying to switch my nginx server back to HTTP/1.1. I've been using HTTP/2 since it was first available (release 1.9.5).

According to the documentation and this release note, HTTP/2 is enabled simply by setting http2 is the listen directive in my serverblock.

However, it appears that removing "http2" doesn't force the server to use HTTP again.

Thoughts ?

Environment: Debian 8.5, nginx 1.11.1 compiled with LibreSSL 2.3.8

Thank you.

1 Answers1

7

Based on Alexey Ten comment above (thank you !), I confirm that nginx requires to have no server(s) running HTTP/2 to get back to HTTP/1.1 (default).

In other words, setting up the directive http2 in one server will enable it for all of them.