How to put influxdb 2.3 behind reverse proxy using traefik

Hello

I am running influxdb 2.3 using docker and I use Traefik for reverse proxy.

What is the correct way to expose Influxdb web UI on address mydomain.com/influx ?

When I was working with Influx 1.x I was using chronograf to explore my data and manage TICK scripts. After some struggle I managed to make Chronograf work with subpath addressing, the solution is here: Cannot make Chronograf work behind Traefik reverse proxy - #3 by MGasztold

Now I am trying to migrate to latest Influx 2.x stack and I cannot find a way to achieve the same thing easily.

Hello @MGasztold,
I don’t know about Traefik, but here’s a post on nginx

Perhaps @wbaker can help here?

Thank you.