Pi-hole behind Nginx but it's not redirecting with target port.

Other users have shared their nginx reverse proxy configs, see e.g. Can't get v6 webinterface behind nginx reverse proxy to work - #4 by stefan.