RE: NGINX Module - create variables?

2013-12-08 Thread Alex Koch
Great. Thanks! This was in fact helpful. Alex Date: Fri, 6 Dec 2013 04:13:53 +0400 From: mdou...@mdounin.ru To: nginx@nginx.org Subject: Re: NGINX Module - create variables? Hello! On Fri, Dec 06, 2013 at 12:25:48AM +0100, Alex Koch wrote: [...] What I would like is being able

Re: NGINX Module - create variables?

2013-12-05 Thread Maxim Dounin
Hello! On Fri, Dec 06, 2013 at 12:25:48AM +0100, Alex Koch wrote: [...] What I would like is being able to define a couple of config variables once my module is loaded. Is this possible at all? If so, could you point me to a sample/module which does this so I can learn from it? You may

NGINX Module - create variables

2013-12-03 Thread Alex Koch
Hi, I would like to create a small module which execute some routines, returns an NGX_OK, somewhat similar in concept to http://blog.zhuzhaoyuan.com/2009/08/creating-a-hello-world-nginx-module/ However I would like once the module executes to create variables such as $my_var which would be