Additional location in gitlab's nginx

Gitlab installed with certbot on Centos 7 and works fine with address

I have other service listening other port on same host (, and want to add the additional location option to nginx config to do something like

I added additional custom config file with this code below, but it didn’t work.

location /otherservice {
            proxy_pass_header  Authorization;
            proxy_pass_header X-WEBAUTH-USER;