Re: [ANN] Windows nginx 1.7.4.2 WhiteRabbit

2014-08-01 Thread itpp2012
> But for expensive image compression involved with relatively large > data volumn and CPU computation, it is better to be done in a > dedicated daemon process outside your online nginx server. Exactly, like I already wrote in http://forum.nginx.org/read.php?2,252064,252184#msg-252184 Posted at N

Re: [ANN] Windows nginx 1.7.4.2 WhiteRabbit

2014-08-01 Thread Yichun Zhang (agentzh)
Hello! On Fri, Aug 1, 2014 at 2:18 PM, Yichun Zhang (agentzh) wrote: > > You can try this: https://github.com/juce/lua-resty-shell > But for expensive image compression involved with relatively large data volumn and CPU computation, it is better to be done in a dedicated daemon process outside yo

Re: [ANN] Windows nginx 1.7.4.2 WhiteRabbit

2014-08-01 Thread Yichun Zhang (agentzh)
Hello! On Fri, Aug 1, 2014 at 5:03 AM, c0nw0nk wrote: > Does anyone know a way you can execute a program via the echo module or > another way with the lua module ? > You can try this: https://github.com/juce/lua-resty-shell Regards, -agentzh ___ nginx

Re: Local processing return values from fastcgi_pass

2014-08-01 Thread itpp2012
tnx Maxim, I'm going to try to solve this with Lua. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,252200,252211#msg-252211 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

nginx.conf CFP closes tonight. (was Re: NGINX conference October 20-22 ...)

2014-08-01 Thread Sarah Novotny
Please submit any talk proposals before midnight PST tonight. https://nginx.busyconf.com/proposals/new/ If you’d like to share the reminder via twitter, please feel free to retweet this — https://twitter.com/nginx/status/495242428652089344 sarah On Jun 30, 2014, at 1:49 PM, Sarah Novotny

Re: pid file location even after setting pid directive

2014-08-01 Thread Wandenberg Peixoto
The configuration file used to start the server is the same been used to stop it? If you start as nginx -c /some/confi/file.conf and stop as nginx -c /some/confi/file.conf -s stop it should work. If you are only doing nginx -s stop it will use default configuration that point to another pid file

pid file location even after setting pid directive

2014-08-01 Thread Mapper Uno
Hi, I have added pid directive to nginx config. Pid /home/ubuntu/ngx.pid Nginx -t -c (conf) also succeeds. However when I run nginx, and later try to stop it with nginx -s stop, I get following error: Open failed (2 No such file or directory, /home/ubuntu/install/nginx/logs/nginx.pid Please n

Re: Local processing return values from fastcgi_pass

2014-08-01 Thread Maxim Dounin
Hello! On Fri, Aug 01, 2014 at 08:48:24AM -0400, itpp2012 wrote: > For example I have one fastcgi_pass location block and I want to process the > return values of a request to use in a second fastcgi_pass, is this possible > ? > > location ... { > ... > fastcgi_pass server1; > # server1 returns

Re: How to directly return in filter

2014-08-01 Thread Maxim Dounin
Hello! On Fri, Aug 01, 2014 at 05:56:48PM +0800, Jerry OELoo wrote: > Hi All: > I am developing a module in Nginx-1.6.0, Now My module work as a filter. > > static ngx_int_t ngx_http_my_handler(ngx_http_request_t *r) > { > ... > return ngx_http_output_filter(); > } > I use ngx_http_out

Local processing return values from fastcgi_pass

2014-08-01 Thread itpp2012
For example I have one fastcgi_pass location block and I want to process the return values of a request to use in a second fastcgi_pass, is this possible ? location ... { ... fastcgi_pass server1; # server1 returns some values # process these values and call another fastcgi_pass server if (!$value

Re: [ANN] Windows nginx 1.7.4.2 WhiteRabbit

2014-08-01 Thread c0nw0nk
Yeah i thought that would not be allowed for some reason. Does anyone know a way you can execute a program via the echo module or another way with the lua module ? location ~* \.(jpg|png|jpeg|ico|gif|bmp)$ { echo "$http_host$request_uri"; } That should echo the url of the image then i just need

How to directly return in filter

2014-08-01 Thread Jerry OELoo
Hi All: I am developing a module in Nginx-1.6.0, Now My module work as a filter. static ngx_int_t ngx_http_my_handler(ngx_http_request_t *r) { ... return ngx_http_output_filter(); } I use ngx_http_output_filter() to send the response to client. Now I want to do some extra thing in my ha