Welcome! Log In Create A New Profile

Advanced

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

June 22, 2015 06:24AM
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
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: 273
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready