i have two app in tomcat which is running in
I have apache http server running on another system http://192.168.0.100/
Let, i have a public ip connected to 192.168.0.100 server. I want to configure two domain of mine pointed towards http server.
- Domain 1: one.app.com
- Domain 2: two.app.com
How i can i use apache http server as a revrse proxy of tomcat app ?
<VirtualHost *:80>
ServerName one.app.com
<Location / >
ProxyPass http://192.168.0.101:8080/app1/
SetEnv force-proxy-request-1.0 1
SetEnv proxy-nokeepalive 1
</Location>
</VirtualHost>
Above config just redirect me to http://192.168.0.101:8080/app1/ :(