36 lines
735 B
YAML
36 lines
735 B
YAML
|
http:
|
||
|
routers:
|
||
|
git-public:
|
||
|
rule: "Host(`git.phoenixinquis.net`)"
|
||
|
entryPoints:
|
||
|
- websecure
|
||
|
tls:
|
||
|
certresolver: dyndns
|
||
|
service: git
|
||
|
middlewares:
|
||
|
# - git-ratelimit
|
||
|
- git-block-uas
|
||
|
|
||
|
services:
|
||
|
git:
|
||
|
loadBalancer:
|
||
|
servers:
|
||
|
- url: "http://reason.sailmaker.fenix.lgbt:80"
|
||
|
passHostHeader: true
|
||
|
|
||
|
middlewares:
|
||
|
git-ratelimit:
|
||
|
rateLimit:
|
||
|
average: 10
|
||
|
burst: 30
|
||
|
period: 1m
|
||
|
git-block-uas:
|
||
|
plugin:
|
||
|
traefik-plugin-blockuseragent:
|
||
|
Regex :
|
||
|
- "facebookexternalhit"
|
||
|
- "meta-externalagent"
|
||
|
- "Amazonbot"
|
||
|
- "SemrushBot"
|
||
|
- "DotBot"
|