i'm using the following code:
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://188.8.131.52: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?