Nginx config template as proxy

Anyone that can share a template for the nginx as proxy. The ones on internet is very minimalistic

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

I have a second nuc. The complication is that the nginx must also work as proxy for a apache webserver. So I have two of my own domains pointing to the server. One domain is for the apache website and the other one has three sub domains, hass, traccar, xeoma