M
M
Mr_Sinister2016-05-21 15:55:35
Java
Mr_Sinister, 2016-05-21 15:55:35

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

2 answer(s)
V
Victor Alenkov, 2016-05-21
@Borz

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

R
Ruslan Lopatin, 2016-05-21
@lorus

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 question

Ask a Question

731 491 924 answers to any question