traefik: combine all allowlist into fileprovider #235

Merged
mg merged 8 commits from t into master 2024-11-10 18:07:13 +01:00
3 changed files with 4 additions and 4 deletions
Showing only changes of commit 7c2e25b24e - Show all commits

View file

@ -38,7 +38,7 @@ services:
traefik.http.routers.registry.entrypoints: entry_https
traefik.http.services.registry.loadbalancer.server.port: 5000
traefik.http.routers.registry.middlewares: registry-ipallowlist,ratelimit40,allowlist_localnet
traefik.http.routers.registry.middlewares: registry-ipallowlist,ratelimit40@file,allowlist_localnet@file
# registry aufräumen: docker exec -it oci-registry /bin/registry garbage-collect /etc/docker/registry/config.yml
@ -89,7 +89,7 @@ services:
retries: 3
labels:
traefik.http.routers.registry-ui.rule: Host(`rui.mgrote.net`)
traefik.http.routers.registry-ui.middlewares: authelia,allowlist_localnet,ratelimit40
traefik.http.routers.registry-ui.middlewares: authelia@file,allowlist_localnet@file,ratelimit40@file
traefik.enable: true
traefik.http.routers.registry-ui.tls: true
traefik.http.routers.registry-ui.tls.certresolver: resolver_letsencrypt

View file

@ -6,7 +6,7 @@ http:
rule: "Host(`git.mgrote.net`)"
service: "service_forgejo"
middlewares:
- "ratelimit40"
- "ratelimit40@file"
entrypoints:
- entry_https
tls:

View file

@ -26,7 +26,7 @@ services:
traefik.http.routers.wiki.entrypoints: entry_https
traefik.http.services.wiki.loadbalancer.server.port: 80
traefik.http.routers.wiki.middlewares: authelia
traefik.http.routers.wiki.middlewares: authelia@file
######## Networks ########
networks: