This commit is contained in:
Michael Grote 2024-09-12 10:10:40 +02:00
parent 1fd038df2e
commit 71cb38b33e

View file

@ -5,6 +5,8 @@ http:
router_gitea:
rule: "Host(`git.mgrote.net`)"
service: "service_gitea"
middlewares:
- "ratelimit"
entrypoints:
- entry_https
tls:
@ -15,3 +17,12 @@ http:
loadBalancer:
servers:
- url: "http://forgejo.mgrote.net:3000/"
###### middlewares #####
middlewares:
ratelimit:
rateLimit:
average: 20
burst: 1
sourceCriterion:
ipStrategy:
depth: 2