diff --git a/config/config.yml b/config/config.yml index 279fca5..19cb501 100644 --- a/config/config.yml +++ b/config/config.yml @@ -6,6 +6,8 @@ http: entryPoints: - https - http + middlewares: + - local-only tls: certResolver: hetzner domains: @@ -37,4 +39,10 @@ http: redirect-duckdns: redirectRegex: regex: "^http(s?)://(.+\\.)?urmel\\.duckdns\\.org(:[0-9]+)?(/.*$|$)" - replacement: "http${1}://${2}urmel.de${3}${4}" \ No newline at end of file + 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" \ No newline at end of file