I am new to NgInx. I don't know i have to ask or not but step forward and i need it for my application redirection. I have 2 Asp.net web applications and based on domain and context path i need to redirect to particular application.
app1
env.example.com:9060
app2
env.example.com:9040
for example
Step1: if i hit this given url in browser any one application should redirect
domain Url1: abc.example.com
domain url2: xyz.example.com
Step2 if i hit this given url in browser with context path then crossponding application should redirect
domain Url1: abc.example.com/app1==>redirect to app1
domain url2: xyz.example.com/app2==>redorect to app2
Looking for server listen and location directive setting etc etc config Any help is very much appriciated.
Thanks.