Prevent redirect to a different port

Hi,

I am trying to configure frontend for a webmin backend. Problem is that the backend after login redirects frontend to its "host" port. I know the problem is related to the webmin itself not the Traefik but I am wondering if there exists a way in Traefik to prevent this (via redirect or some strip attribute).

visit -> admin.example.com -> logs into webmin -> redirected to: admin.example.com:10000 -> 404 page not found -> manually delete port -> successfully inside webmin web app

So I want to avoid that bold part above.

#webmin
  [backends.webmin]
    [backends.webmin.servers.1]
      url = "http://127.0.0.1:10000"
      weight = 1

#webmin
  [frontends.webmin]
    backend = "webmin"
    entryPoints = ["http", "https"]
    passHostHeader = true
	[frontends.webmin.whiteList]
	  sourceRange = ["192.168.255.0/24", "10.8.0.0/24"]
	  useXForwardedFor = true
	[frontends.webmin.headers]
	  forceSTSHeader = true
	  STSSeconds = 315360000
	  STSIncludeSubdomains=true
	  STSPreload = true
    [frontends.webmin.routes.1]
      rule = "Host:admin.example.com"

Appreciate any inputs, thanks! Michal