Re: RE: GeoIP FirstNonPrivateXForwardedForIP

2014-07-31 Thread wandenberg
Hi, some time ago I had a similar issue and I grab some parts of nginx internals modules and did one specific to me. My issue was to use the first XForwardedFor IP, but only when the client address was the Google Chrome Proxy. I don't know if this is the best approach, but I check the client ip us

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 sh

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 http://mailman.nginx.org/mailman/li

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. http://nginx.org/en/docs/ht

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 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 linu

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 th

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: Repeated include /etc/includes/ssl.conf Passes configtest, fails SSL Handshake

2014-07-31 Thread Maxim Dounin
Hello! On Wed, Jul 30, 2014 at 10:14:05AM +0800, Matt Silverlock wrote: > Hi all, > > Had a chat with a helpful person on IRC but both are stumped as > to why my configuration passes a check (nginx -t) but fails to > properly handle SSL. > > – I’ve split a couple of repetitive blocks out into

Re: postpone_gzipping

2014-07-31 Thread Maxim Dounin
Hello! On Thu, Jul 31, 2014 at 06:47:01AM -0400, husseingalal wrote: > Hi, > I encountered the directive postpone_gzipping but i couldnt find an > explanation in the documentation although i found the directive in the > source code of nginx, how is that directive different from gzip_min_length?

postpone_gzipping

2014-07-31 Thread husseingalal
Hi, I encountered the directive postpone_gzipping but i couldnt find an explanation in the documentation although i found the directive in the source code of nginx, how is that directive different from gzip_min_length? Posted at Nginx Forum: http://forum.nginx.org/read.php?2,252171,252171#msg-252