Welcome! Log In Create A New Profile

Advanced

Re: Re:Re: DNS configuration to invoke complete URL

Francis Daly
June 08, 2015 06:50PM
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
Subject Author Posted

DNS configuration to invoke complete URL

smsmaddy1981 May 19, 2015 06:11AM

Re: DNS configuration to invoke complete URL

smsmaddy1981 May 21, 2015 06:52PM

Re: DNS configuration to invoke complete URL

vikrant singh May 21, 2015 07:38PM

Re: DNS configuration to invoke complete URL

Valentin V. Bartenev May 22, 2015 09:26AM

Re: DNS configuration to invoke complete URL

smsmaddy1981 May 26, 2015 10:20AM

Re: DNS configuration to invoke complete URL

Francis Daly May 26, 2015 07:36PM

Re: DNS configuration to invoke complete URL

smsmaddy1981 June 04, 2015 05:28AM

Re:Re: DNS configuration to invoke complete URL

Yidong June 04, 2015 11:14AM

Re: Re:Re: DNS configuration to invoke complete URL

smsmaddy1981 June 08, 2015 08:39AM

Re: Re:Re: DNS configuration to invoke complete URL

Francis Daly June 08, 2015 06:50PM

Re: Re:Re: DNS configuration to invoke complete URL

smsmaddy1981 June 22, 2015 06:24AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 60
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready