Michael Grote
e4b82dd91b
Reviewed-on: https://git.mgrote.net///mg/homeserver/pulls/200 Co-authored-by: Michael Grote <michael.grote@posteo.de> Co-committed-by: Michael Grote <michael.grote@posteo.de>
28 lines
613 B
YAML
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: 40
|
|
burst: 80
|
|
sourceCriterion:
|
|
ipStrategy:
|
|
depth: 2
|