mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2026-02-20 22:53:57 +02:00
This PR adds HTTP/2 Cleartext (H2C) support for the HTTP server, this allows for reverse proxies to use HTTP/2 instead. ## Test 1. Start Forgejo. 2. Run `curl --http2-prior-knowledge http://localhost:3000`. 3. Observe it doesn't return a error. Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/8861 Reviewed-by: Gusted <gusted@noreply.codeberg.org> Co-authored-by: sim <git@sgougeon.fr> Co-committed-by: sim <git@sgougeon.fr>