how to block excluding specific url in nginx?

Francis Daly francis at daoine.org
Wed Nov 26 12:48:36 UTC 2014


On Wed, Nov 26, 2014 at 07:39:58AM -0500, goversation wrote:

Hi there,

> but now i have to access "/" location, too
> how to block excluding specific url in nginx?

Don't exclude. Include.

  location = / {
    # whatever should happen for the request "/"
  }

	f
-- 
Francis Daly        francis at daoine.org



More information about the nginx mailing list