Phpmyadmin subpath redirect

I have a domain example.domain.com and I have multiple services behindf that and our policy is not use them as service_prefix.example.domain.com, but example.domain.com/service. In many apps I could set that it listens under subpath, but there is no option for phpmyadmin and kubernetes dashboard.
With Kubernetes dashboard ot works this solution. But it does not work with phpmyadmin.
In nutshell. I would like to modify the response path from domain to domain/phpmyadmin. because I can access the phpmyadmin under /phpmyadmin but when I login in the response I see domain only