I'd like to run one spring boot application but have it listen on multiple ports.
The aim is to be able to let an Apache forward multiple (sub-) domains to the spring boot application (Tomcat) on different ports. Example:
example.com/** -> PORT 8080
client.example.com/** -> PORT 8090
employee.example.com/** -> PORT 8100
As far as I understood from several threads on SO, I'm best off launching multiple @SpringBootApplication Annotated classes from one main class, right? (https://stackoverflow.com/a/25870132/1510659)
What I didn't grasp yet, is how to configure each one of those applications separately.
Let's say I have launched these three Applications as shown in the linked post above:
MainExampleApplication
ClientExampleApplication
EmployeeExampleApplication
Now, for example, I w