homeserver/docker-compose/traefik/file-provider.yml
Michael Grote e0561be1a4
All checks were successful
ansible-lint / gitleaks (push) Successful in 4s
ansible-lint / Ansible Lint (push) Successful in 50s
traefik: set forgejo rate-limit higher, again...
2024-09-23 15:41:21 +02:00

28 lines
613 B
YAML

# TCP da SSH keine Hostnamen kennt
http:
###### router #####
routers:
router_gitea:
rule: "Host(`git.mgrote.net`)"
service: "service_gitea"
middlewares:
- "ratelimit"
entrypoints:
- entry_https
tls:
certresolver: resolver_letsencrypt
###### services #####
services:
service_gitea:
loadBalancer:
servers:
- url: "http://forgejo.mgrote.net:3000/"
###### middlewares #####
middlewares:
ratelimit:
rateLimit:
average: 25
burst: 50
sourceCriterion:
ipStrategy:
depth: 2