1 liner assuming you previously enabled http2 manually:
# grep -lR "http2 on" /etc/nginx/sites-enabled | xargs sed -i 's/http2 on/http2 off/g'
well, then also
# systemctl daemon-reload
# systemctl restart nginx
1 liner assuming you previously enabled http2 manually:
# grep -lR "http2 on" /etc/nginx/sites-enabled | xargs sed -i 's/http2 on/http2 off/g'
well, then also
# systemctl daemon-reload
# systemctl restart nginx
@tj I couldn't find any reference to it in the default config and I have a load of subdomains all of which have it turned on and in multiple files, and I have multiple servers set up like that. This saved me a lot of faffing.
Unsure what "recent" means in this context as Debian stable is still on 1.26.3
@tj ok, and the one line I used does turn it off.
I understand your point that it only works because my config predates the default "being on" so has an "on" switch to turn "off"