Meteor apps with apache


#1

I have 3 meteor apps with virtual host ports :90,91,93.
All working
I would like to publish all on the same port 80. For example:
<VirtualHost *:80>

ProxyPass /rap http://localhost:93/
ProxyPassReverse /rap http://localhost:93/

ProxyPass /question http://localhost:90/
ProxyPassReverse /question http://localhost:90/

How can i do that?

#2

Are you looking for a load balancer? You can’t forward one public port to three private ports


#3

No, but it’s possible with public ip address to public these three applications?


#4

Have you checked that you have these apache modules installed?

mod_proxy
mod_proxy_http
mod_ssl

#5

Yes, all enable
mod_proxy
mod_proxy_http
mod_ssl


#6

I haven’t tested, but this looks like it should work then.
Are you getting any errors?
What is it showing you when you go to /rap?