On Mon, Jun 08, 2015 at 08:39:51AM -0400, smsmaddy1981 wrote:
Hi there,
> Yes, the absolute URL http://workspace.corp.no/workspace/agentLogin works
> fine
>
> I just need to understand the configuration approach to redirect the URL
> request (http://workspance) to absolute url
> (http://workspace.corp.no/workspace/agentLogin)
Was this not answered in http://forum.nginx.org/read.php?2,258982,259381 ?
If the servers workspace.corp.no and workspance are the same, then
location = / { return 301 /workspace/agentLogin; }
and if they are two different servers, then on the workspance one:
location = / { return 301 http://workspace.corp.no/workspace/agentLogin; }
f
--
Francis Daly francis@daoine.org
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx