Compare commits
2 commits
main
...
gitnet-2.x
Author | SHA1 | Date | |
---|---|---|---|
|
5bc63d5304 | ||
|
12cb305a65 |
|
@ -27,11 +27,12 @@
|
|||
</h1>
|
||||
<h5 class="text-center" style="max-width: 25em;">
|
||||
Sorry, this page doesn't exist or is inaccessible for other reasons (%status).<br/>
|
||||
We hope this is not our fault ;) - Make sure to check the <a href="https://docs.codeberg.org/codeberg-pages/troubleshooting/" target="_blank">troubleshooting section in the Docs</a>!
|
||||
We hope this is not our fault ;) - Make sure to check the <a href="https://gitnet.fr/gitnet/fr/wiki/Pages-%2F-Troubleshooting" target="_blank">troubleshooting section in the Docs</a>!
|
||||
</h5>
|
||||
<small class="text-muted">
|
||||
<img src="https://design.codeberg.org/logo-kit/icon.svg" class="align-top">
|
||||
Static pages made easy - <a href="https://codeberg.page">Codeberg Pages</a>
|
||||
<small class="text-muted text-center">
|
||||
<img src="https://gitnet.fr/assets/img/logo.svg" class="align-top">
|
||||
<br>
|
||||
Static pages made easy - <a href="https://gitnet.fr/gitnet/fr/wiki/Pages-%2F-How-to">Gitnet Pages</a>
|
||||
</small>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -18,12 +18,10 @@ func SetupServer(handler fasthttp.RequestHandler) *fasthttp.Server {
|
|||
return &fasthttp.Server{
|
||||
Handler: compressedHandler,
|
||||
DisablePreParseMultipartForm: true,
|
||||
MaxRequestBodySize: 0,
|
||||
NoDefaultServerHeader: true,
|
||||
NoDefaultDate: true,
|
||||
ReadTimeout: 30 * time.Second, // needs to be this high for ACME certificates with ZeroSSL & HTTP-01 challenge
|
||||
Concurrency: 1024 * 32, // TODO: adjust bottlenecks for best performance with Gitea!
|
||||
MaxConnsPerIP: 100,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue