Nginx config template as proxy

you’ve not provided any info on what setup you have, but this is what I used: