Welcome! Log In Create A New Profile

Advanced

Re: DNS configuration to invoke complete URL

Francis Daly
May 26, 2015 07:36PM
On Tue, May 26, 2015 at 10:20:27AM -0400, smsmaddy1981 wrote:

Hi there,

> server {
> listen 80;
> server_name workspace.corp.no;
>
> location / {
> proxy_pass http://workspace.corp.no/workspace/agentLogin;
> }
> }
>
> Expected to see:
> accessing URL: http://workspace.corp.no should result in
> http://workspace.corp.no/workspace/agentLogin

What, specifically, do you mean by that?

You want to see a http redirect to the new url? Or you want to see some
other content?

Where does that other content come from?

> What I see:
> Indefinite requests piled up in the logs as shown below

That infinite loop matches what you have configured (assuming that the
nginx machine resolves the name workspace.corp.no to an address that
this nginx listens on).

> Suggest, how do I achieve invoking the DNS should call the required absolute
> URL?

I'm afraid that I do not know what you mean by that.

After you explain the behaviour you want, it may become clear how to
configure nginx to achieve that behaviour.

Good luck with it,

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: 52
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