DNS configuration to invoke complete URL
smsmaddy1981
nginx-forum at nginx.us
Mon Jun 22 10:24:20 UTC 2015
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
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,258982,259782#msg-259782
More information about the nginx
mailing list