DNS configuration to invoke complete URL

Yidong ryd994 at 163.com
Thu Jun 4 15:12:38 UTC 2015


Does following line on <workspace-dns-name> work?<br/><br/>location = / {<br/>    return 301 http://workspace.corp.no/workspace/agentLogin;<br/>}<br/><br/>You need some web server on <workspace-dns-name> to return a 301. <br/>Or you can try port forwarding to Node-01, although IMHO, not a good idea.
At 2015-06-04 17:28:44, "smsmaddy1981" <nginx-forum at nginx.us> wrote:
>Hi Francis
>
>Expectation is to redirect the request to the absolute URL
>(http://workspace.corp.no/workspace/agentLogin) when an end user access the
>request http://<workspace-dns-name>
>
>NGINX is installed on server Node-01
>The content to be loaded (workspace-dns-name) is deployed on another server
>Node-02
>
>Steps to achieve pls.?
>
>
>
>Best regards,
>Madhu
>
>Posted at Nginx Forum: http://forum.nginx.org/read.php?2,258982,259376#msg-259376
>
>_______________________________________________
>nginx mailing list
>nginx at nginx.org
>http://mailman.nginx.org/mailman/listinfo/nginx


More information about the nginx mailing list