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

29 lines
623 B
YAML
Raw Normal View History

# TCP da SSH keine Hostnamen kennt
http:
###### router #####
routers:
2024-11-10 17:30:54 +01:00
router_forgejo:
rule: "Host(`git.mgrote.net`)"
2024-11-10 17:30:54 +01:00
service: "service_forgejo"
middlewares:
2024-11-10 17:34:10 +01:00
- "ratelimit40"
entrypoints:
- entry_https
tls:
certresolver: resolver_letsencrypt
###### services #####
services:
2024-11-10 17:30:54 +01:00
service_forgejo:
loadBalancer:
servers:
- url: "http://forgejo.mgrote.net:3000/"
###### middlewares #####
middlewares:
2024-11-10 17:34:10 +01:00
ratelimit40:
rateLimit:
average: 40
burst: 80
sourceCriterion:
ipStrategy:
depth: 2