Quick attempt at a workaround for haproxy in front of cgit installations: http-request set-query %[query,regsub(qt=grep,qt=grepz,g)]