You need to adjust the tomcat application (configuration) with proxy settings.
https://www.mkyong.com/nginx/nginx-apache-tomcat-configuration-example/
http://webapp.org.ua/sysadmin/setting-up-nginx-ssl-reverse-proxy-for-tomcat/
https://www.mkyong.com/nginx/nginx-apache-tomcat-configuration-example/
http://webapp.org.ua/sysadmin/setting-up-nginx-ssl-reverse-proxy-for-tomcat/