I configured nginx as a reverse proxy to tomcat as I don't want to show the IP of my back end. Tomcat is running on 192.168.2.6 port 8080 and I want to serve tomcat via nginx on prt 80 that is http://192.168.12.6 and not via http://192.168.2.6:8080 Posted at Nginx Forum: https://forum.nginx.org/read.php?2,274372,274380#msg-274380