homeserver/docker-compose/traefik/file-provider.yml
2024-09-12 12:29:22 +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: 10
burst: 15
sourceCriterion:
ipStrategy:
depth: 2