RE: NGINX lifecycle

2017-11-10 Thread Nelson, Erik - 2 via nginx
> On Thu, Nov 09, 2017 at 03:17:36PM -0600, Joel Parker wrote: > > > I want to load a table of key/value pairs from the file system when nginx > > starts and not every time a request comes in. I am going to use the > > key/value pairs to compare against incoming post args in my location block. > >

Re: NGINX lifecycle

2017-11-10 Thread Maxim Dounin
Hello! On Thu, Nov 09, 2017 at 03:17:36PM -0600, Joel Parker wrote: > I want to load a table of key/value pairs from the file system when nginx > starts and not every time a request comes in. I am going to use the > key/value pairs to compare against incoming post args in my location block. > >

NGINX lifecycle

2017-11-09 Thread Joel Parker
I want to load a table of key/value pairs from the file system when nginx starts and not every time a request comes in. I am going to use the key/value pairs to compare against incoming post args in my location block. My question is how many times is init_by_lua_block called ? or is there somewher