I have nginx setup as a reverse proxy. However it does not work as intended at the moment because I need nginx to use a local proxy to reach some services when tun on my PC. I am very unsure how to do that as nginx documentation seems very confusing to me and when attempting to google this question I have met only things regarding reverse proxy configuration which is not what I want to know. Could you please give me any advice or redirect me to some kind of documentation related to this topic?
NOW: app -> locally run nginx reverse proxy -> services
DESIRED: app -> locally run nginx reverse proxy -> proxy -> services