Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to run Java web application using Nginx server only without tomcat server?

Is it possible to run Java web application using Nginx server only without tomcat server ?

like image 986
madhusudhan Avatar asked Jul 16 '26 06:07

madhusudhan


1 Answers

nginx has no understanding of what a .war file is as it is not a servlet container. So, answer to your question is No! it is not possible. However, you can configure nginx to act as a reverse proxy in front of a Tomcat server.

Also, this link may help you in details about nginx

like image 145
AbhiN Avatar answered Jul 18 '26 21:07

AbhiN



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!