mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-04-24 13:56:57 +00:00
Change MaxConnsPerIP to 0 to fix too many connections from HAProxy
This commit is contained in:
parent
2dbc66d052
commit
ece105f565
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ func SetupServer(handler fasthttp.RequestHandler) *fasthttp.Server {
|
|||
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,
|
||||
MaxConnsPerIP: 0,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue