Good afternoon,
I have the following scenario:
tst-agro.mydomain.com.br/agro
tst-agro.mydomain.com.br/ti
tst-agro.mydomain.com.br/nfe
Each app has its own unique port and when the user accesses it I apply the regex below. middlewares:
rewrite-agro:
replacePathRegex:
regex: "^/agro/(.*)"
replacement: "/webapp/$1"
after the regex: tst-agro.mydomain.com.br/webapp/
The problem is that some requests are coming through another route
tst-agro.mydomain.com.br/app-root/protheuslib-tface_env_tst_ti/
Since it is a third-party program, I have no way of knowing how many of these routes would be needed to create a rule for each one, and it could also be for the company if any of them were not mapped.
Does anyone have any idea how to handle this? I didn't want to make a "subdomain" ti.tst-agro.mydomain.com.br, because I think it would be worse for the users.