Thanks everyone and sorry for the late reply here...due to OS upgrade from IT team.
I tried using return directive to invoke the absolute URL and below case is true :
-- if they are two different servers, then on the workspance one:
location = / { return 301 http://workspace.corp.no/workspace/agentLogin; }
This resulted in an error message during nginx restart "unknown directive return". And working nginx version is #1.6.3. FYI, nginx installation was successful installing pcre, pcre-devel packages (latest)
Not sure, how to resolve this (return directive issue)???
-----------------------------------------------
Later I attempted to configure below way and IS WORKING...
server {
listen 80;
server_name workspace.corp.no;
location /{
proxy_pass http://workspace123/workspace/agentLogin/;
}
}
NOT SURE, IF THIS IS THE RIGHT APROACH?
//Maddy