Answer the question
In order to leave comments, you need to log in
How to run multiple web applications (Spring) on the same server?
There are several web applications written in Java using the Spring framework. How to run them on the same server, but so that each application is tied to a specific domain?
Server under Ubuntu Server 14.04.
Answer the question
In order to leave comments, you need to log in
via nginx. run each application on a separate port (and not all on 8080) and specify your own backend server in Nginx for each domain
Don't use Spring Boot. Package each application in .war and run from under the application server. For example Tomcat .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question