Hello,
i'm using the following code:
url's redacted
http:
routers:
redirections:
service: blahblah
tls:
certResolver: le
middlewares:
- "blah-redirectregex"
rule: "Host(`blah.blah.me`)
middlewares:
blah-redirectregex:
redirectRegex:
regex: "^https?://blah.blah.me"
replacement: "https://www.google.com"
permanent: true
services:
dummyservice:
loadBalancer:
servers:
- url: "http://1.1.1.1:80"
the redirect is working but a trailing slash is added after de redirect.
the url i'm redirecting too is failing because off the trailing slash.
is there something that i'm doing wrong?