First to all, sorry if my english are appalling, i'm learning and i trying to write this w/o translator
Now, i have set traefik to access my services using this label of rules
traefik.http.routers.<my-service>.rule=Host(
<my-service>.<mydomain>.duckdns.org
) || HostRegexp(^(<my-server>\.(lcl|wrg|ztr)$
) && PathPrefix(/<my-service>
)
The first rule works perfectly, even i set correctly the certificates generation with Let'sEncrypt. The problem it's with the second rule, i changed the "Base URL" of my services to "/<service-name>" (this because traefik preserve the PathPrefix on internal redirection and receive error 404) when i do it some services works fine, but another services not have that option and i can't access it (by example portainer), also i tryed to set a stripprefix middleware but does not work on my case (or i dont know how set it)
PD: Now I'm only using a VPN tunnelings to access my services(by that the domains lcl=local, wrg=wireguard and ztr=zerotier on my servernames of the second rule), the first rule is only the pre-settings for future exposure