Forum: NGINX Order of directive call during request handling

1ba75714933d7ed0670abfb47a49d7ef?d=identicon&s=25 Adarsh Pugalia (Guest)
on 2014-06-16 08:54
(Received via mailing list)
I am not able to get the order in which the directive handlers are
called
when a request comes. I have a directive to connect to the database and
the
other to do put operation. In the conf file, i write the connect
directive
first, but when request comes, the connect directive handler is not
called,
and the put handler is called first. Can you please help me with the
order
in which they are called?
A8108a0961c6087c43cda32c8616dcba?d=identicon&s=25 Maxim Dounin (Guest)
on 2014-06-16 13:34
(Received via mailing list)
Hello!

On Mon, Jun 16, 2014 at 12:23:44PM +0530, Adarsh Pugalia wrote:

> I am not able to get the order in which the directive handlers are called
> when a request comes. I have a directive to connect to the database and the
> other to do put operation. In the conf file, i write the connect directive
> first, but when request comes, the connect directive handler is not called,
> and the put handler is called first. Can you please help me with the order
> in which they are called?

You may want to read Evan Miller's guides, see links here:

http://nginx.org/en/links.html

--
Maxim Dounin
http://nginx.org/
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.