Server context Vs Location context

Adarsh Pugalia es12b1001 at iith.ac.in
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: <http://mailman.nginx.org/pipermail/nginx/attachments/20140530/a6dcd276/attachment.html>


More information about the nginx mailing list