Gitlab reverse proxy (externally hosted)

Hi

,We have installed gitlab on VPS, its bundled nginx is disabled and using reverse in apache with 127.0.0.1:8080 and url gitlab.mydomain.com is perfectly working.

Now we want to create another reverse on external vps and point to this gitlab server. Our goal is to reach gitlab via external hosted nginx reverse proxy. Since gitlab listens on 127.0.0.1:8080 not on public_ip:8080 so it seems difficult. However experts are requested to advise please