homeserver/docker-compose/traefik/file-provider.yml

29 lines
613 B
YAML
Raw Normal View History

# 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