Docs does not work if api is hosted in subdirectory

I have the api hosted in a subdirectory, with nginx as a reverse proxy.
Everything works as expected except docs.

Example:
I have api hosted as: https://my.example.com/v_api so docs are at https://my.example.com/v_api/api/v1/docs but when I try to access I get 403 from the api (not nginx) because it does not respect the context path (v_api) so it says there is nothing at https://my.example.com/api/v1/docs

nginx conf is very simple, like:

location /v_api/ {
proxy_pass http://127.0.0.1:3456/;
}

Screenshot_20220923_155836

Looks like the path is hardcoded in the docs. We’re not building the docs UI ourselves so I’m not sure if we’re able to change that.

Can you use the api docs at Vikunja API documentation?

That’s what I did for now :slight_smile: