How can i set up load balancer with nginx?

Environment:
hue version: open source 4.8.0
nginx version: nginx/1.16.1
OS: CentoOS 7.3
Python2.7.5

There are multiple guides if you can google/search, e.g.

On manual setups

or if already using Kubernetes

Thanks a lot. I have resolved.