Rewrite Requests inside pods while using k8 spawner

Hi!
I am able to successfully spawn a jupyter notebook container image, and it starts up successfully.
However, the URLS from jupyterhub don’t match up with the server running inside the docker container.
In the container, I have urls like htp://localhost:8888/narrative

However, the base URL (accessing via nodeport) is htp://localhost:32497/user/abc which attempts to serve that from the container, but should actually be rewritten inside the container to be htp://localhost:8888/narrative instead of htp://localhost:8888/user/abc

Where do I configure the rewriting of requests in the helm chart?
Thank you