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/;
}