OLS behind NGINX vía proxy pass

Hi, I need help about how to do this: I have a proxy pass call from NGINX vía IP, there is a way to map these calls to certain domain in OLS using a header where the original domain its specified?

Kind regards.