Serve dash app on path localhost:8050/test with waitress (WSGI)?

Hi,

I am trying to serve an app on a certain path, something like localhost:8050/mypath. I found the settings requests_pathname_prefix and routes_pathname_prefix but both settings seem to be ignored when the app is served as WSGI application e.g. with waitress.

I tried redirecting the port with a remote proxy, but simply rewriting the port does not seem to work either.

Any ideas how I can fix that?