codeberg-pages-server/server
Gusted 3c61a39864 Enable http/2 support (#137)
As per [the documentation](https://pkg.go.dev/net/http#Serve), it doesn't enable HTTP2 by-default, unless we enable it via the `NextProtos` option.

Co-authored-by: Gusted <williamzijl7@hotmail.com>
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/137
Reviewed-by: 6543 <6543@obermui.de>
Co-authored-by: Gusted <gusted@noreply.codeberg.org>
Co-committed-by: Gusted <gusted@noreply.codeberg.org>
2022-11-12 22:25:20 +01:00
..
cache make mem cache an interface and inject 2021-12-05 14:48:51 +01:00
certificates Enable http/2 support (#137) 2022-11-12 22:25:20 +01:00
context Refactor split long functions (#135) 2022-11-12 20:43:44 +01:00
database switch to std http implementation instead of fasthttp (#106) 2022-11-12 20:37:20 +01:00
dns switch to std http implementation instead of fasthttp (#106) 2022-11-12 20:37:20 +01:00
gitea Refactor split long functions (#135) 2022-11-12 20:43:44 +01:00
handler refactor: finish use default const for defaultPagesBranch and defaultPagesRepo 2022-11-12 21:16:11 +01:00
upstream Refactor split long functions (#135) 2022-11-12 20:43:44 +01:00
utils switch to std http implementation instead of fasthttp (#106) 2022-11-12 20:37:20 +01:00
version Release via CI (#94) 2022-06-14 20:35:11 +02:00
setup.go switch to std http implementation instead of fasthttp (#106) 2022-11-12 20:37:20 +01:00