protect against dns rebinds
This commit is contained in:
parent
ff3881428c
commit
c558d7b62c
@ -33,7 +33,7 @@ services:
|
|||||||
traefik.http.routers.traefik-dashboard.tls: "true"
|
traefik.http.routers.traefik-dashboard.tls: "true"
|
||||||
traefik.http.routers.traefik-dashboard.tls.certresolver: hetzner
|
traefik.http.routers.traefik-dashboard.tls.certresolver: hetzner
|
||||||
traefik.http.routers.traefik-dashboard.service: api@internal
|
traefik.http.routers.traefik-dashboard.service: api@internal
|
||||||
traefik.http.routers.traefik-dashboard.middlewares: traefik-auth@file
|
traefik.http.routers.traefik-dashboard.middlewares: traefik-auth@file, local-only@file
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
traefik-certs:
|
traefik-certs:
|
||||||
|
|||||||
@ -37,4 +37,10 @@ http:
|
|||||||
redirect-duckdns:
|
redirect-duckdns:
|
||||||
redirectRegex:
|
redirectRegex:
|
||||||
regex: "^http(s?)://(.+\\.)?urmel\\.duckdns\\.org(:[0-9]+)?(/.*$|$)"
|
regex: "^http(s?)://(.+\\.)?urmel\\.duckdns\\.org(:[0-9]+)?(/.*$|$)"
|
||||||
replacement: "http${1}://${2}urmel.de${3}${4}"
|
replacement: "http${1}://${2}urmel.de${3}${4}"
|
||||||
|
local-only:
|
||||||
|
ipAllowList:
|
||||||
|
sourceRange:
|
||||||
|
- "10.0.0.0/8"
|
||||||
|
- "172.16.0.0/12"
|
||||||
|
- "168.168.0.0/16"
|
||||||
Loading…
x
Reference in New Issue
Block a user