My current configuration setup is as below,
AWS ELB(https / 443 to 80) --> Webserver_UI ( nginx 80 ) -> nodejs
AWS ELB2(https / 8080 to 8080) --> Webserver (nginx 8080) -> localhost tomcat 8081 -> Java code
Now my question is Do I really need Nginx for my 2nd webserver? As tomcat can be directly taking the request from AWS ELB and certificates are taken care by ELB itself.
But every one keep Nginx, so what is the real advantage of this setup?
I know I can try "AWS Elastic Beanstalk" instead of nginx but on cost wise I don't want to try it.