Change base URL

Using Docker, it is straightforward to serve Hue at

How can I serve Hue at

Traefik is used as a proxy, routing traffic directed at /hue to the running Docker container is working.

However, the URLs generated by Hue (Django) do not contain /hue, so the application fails to run correctly.

How can I configure Hue (Django) to serve all URLs under /hue?