On Wed, Dec 24, 2014 at 10:16:28AM -0500, magal wrote:

Hi there,

> My configuration would be to have one document_root for a specific IP and
> another for the rest of the world.

In each case, do not set $document_root.

Instead, set $my_root_var (for example). Then separately, do

  root $my_root_var;

        f
-- 
Francis Daly        [email protected]

_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to