• csolisr@hub.azkware.net
      link
      fedilink
      arrow-up
      2
      ·
      7 days ago

      For anybody else that needs it, a command to quickly disable all http2 instances in your nginx:

      sudo grep -Rle 'http2 on' /etc/nginx | while read -r i; do sudo sed -e 's/http2 on/http2 off/g' "$i" > "/tmp/${i##*/}" && sudo mv -v "/tmp/${i##*/}" "${i}"; done; sudo nginx -s reload