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