Weblogic URL redirect

i have my url running on https://domain.com:7002/app1, i want to make a weblogic redirect when ever users type domain.com in the browser, it should place them to https://domain.com:7002/app1

what changes are required from the Weblogic side to make the redirect work?

Thanks

Answer

There are some things you can do on your web.xml, but I’m not sure if that kind of redirect must be done by Weblogic. Instead of that, you can use some other way to redirect: I’ve done something similar to what you need using nginx and haproxy.

Using nginx you can do something like

location / {
proxy_pass https://domain.com:7002/app1;
}

Attribution
Source : Link , Question Author : xias , Answer Author : boris quiroz

Leave a Comment