Re: [ANN] Windows nginx 1.7.4.2 WhiteRabbit

2014-08-06 Thread c0nw0nk
Also itpp2012 i don't know if you remember from the last time we talked but would it be better or any difference for you to compile a 64bit Nginx instead of a 32bit ? Posted at Nginx Forum: http://forum.nginx.org/read.php?2,252064,252363#msg-252363

Re: [ANN] Windows nginx 1.7.4.2 WhiteRabbit

2014-08-06 Thread itpp2012
c0nw0nk Wrote: --- Also itpp2012 i don't know if you remember from the last time we talked but would it be better or any difference for you to compile a 64bit Nginx instead of a 32bit ? For new items/issues please open a new topic. 64bit

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

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: [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 your

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

Re: [ANN] Windows nginx 1.7.4.2 WhiteRabbit

2014-07-31 Thread c0nw0nk
I also noticed you added the PHP and Nginx User setups for security would you also add a FTP / MySQL option even though it is easy for us to just edit the vb scripts to suit our needs for other services but i was just thinking for others.(Maybe they are lazy) I am not sure if anyone else uses the

Re: [ANN] Windows nginx 1.7.4.2 WhiteRabbit

2014-07-31 Thread itpp2012
c0nw0nk Wrote: --- I also noticed you added the PHP and Nginx User setups for security would you also add a FTP / MySQL option even though it is easy for us to just edit the vb scripts to suit our needs for other services but i was just

Re: [ANN] Windows nginx 1.7.4.2 WhiteRabbit

2014-07-31 Thread c0nw0nk
Thats what i have been doing not enocunterd any issues as such yet with Nginx or PHP i am also curious if it possible to execute compression of images via Nginx, For those of us who use CloudFlare.com already know that cloudflare performs lossless image compression most likely the same way via

Re: [ANN] Windows nginx 1.7.4.2 WhiteRabbit

2014-07-31 Thread c0nw0nk
I also see LUA can do the job but i get the feeling i will hit a dead end if i did this. location /compress-images { content_by_lua 'os.execute(C:/server/bin/compress.exe)'; } Posted at Nginx Forum: http://forum.nginx.org/read.php?2,252064,252183#msg-252183

Re: [ANN] Windows nginx 1.7.4.2 WhiteRabbit

2014-07-31 Thread itpp2012
The trick with pre-compressed files is to have a separate process doing the compression and doing a test inside nginx for the existence of this compressed file. Ea. if file.jpg.extracompressed exists then serve directly from filesystem else do something with zlib. Ea2.

Re: [ANN] Windows nginx 1.7.4.2 WhiteRabbit

2014-07-31 Thread c0nw0nk
Well what i was describing was to compress the original media items. Saving storage/disk space. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,252064,252185#msg-252185 ___ nginx mailing list nginx@nginx.org

Re: [ANN] Windows nginx 1.7.4.2 WhiteRabbit

2014-07-31 Thread Yichun Zhang (agentzh)
Hello! On Thu, Jul 31, 2014 at 10:06 AM, c0nw0nk wrote: I also see LUA can do the job but i get the feeling i will hit a dead end if i did this. location /compress-images { content_by_lua 'os.execute(C:/server/bin/compress.exe)'; } Oh no, os.execute() is blocking. You should

Re: [ANN] Windows nginx 1.7.4.2 WhiteRabbit

2014-07-28 Thread itpp2012
It was on the todo list, but its not that simple, for example: http://stackoverflow.com/questions/20376990/perl-cgi-vs-fastcgi http://forums.iis.net/t/1107796.aspx?FastCGI+Perl Basically you can take any fcgi wrapper, adjust some minor stuff for windows but you'd have to rewrite the socket part