Server context Vs Location context

Adarsh Pugalia es12b1001 at
Fri May 30 06:59:12 UTC 2014

Is there any way to check in a command's set function if the command was
invoked i.e. the command was called from server context or location
context. For example, if I write a command that can be used both in server
context and location context, is there a way to differentiate from where it
was called in my function that sets up the configuration?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list