Re: limit_req and IP white listing on 0.8.55

2013-04-30 Thread nauger
Hi Maxim, Thank you-- that makes sense. Before upgrading, is it possible to implement this white list behavior using a different mechanism? Thanks again, -Nick Posted at Nginx Forum: http://forum.nginx.org/read.php?2,238757,238760#msg-238760 ___ ng

Re: limit_req and IP white listing on 0.8.55

2013-04-30 Thread Maxim Dounin
Hello! On Tue, Apr 30, 2013 at 07:25:22PM -0400, nauger wrote: > Hello! > > I've followed this reference: > > http://forum.nginx.org/read.php?2,228956,228961#msg-228961 > > To produce the following config: > http { > geo $public_vs_our_networks { > default 1

limit_req and IP white listing on 0.8.55

2013-04-30 Thread nauger
Hello! I've followed this reference: http://forum.nginx.org/read.php?2,228956,228961#msg-228961 To produce the following config: http { geo $public_vs_our_networks { default 1; 127.0.0.1/320; ... my networks ...

Re: 504 Gateway Time-out media temple

2013-04-30 Thread nikandriko
Hi, I am also a Media Temple customer and its knowledgebase has not been updated with this issue although it is very frequent from what I see. Thank you very much. I changed the nginx.conf file adding the lines you mentioned and then restarted. It also helped me a lot finding the nginx restart c

Re: Howto set geoip_country for IPv4 and IPv6 databases?

2013-04-30 Thread Ruslan Ermilov
On Tue, Apr 30, 2013 at 09:03:20AM -0400, Rancor wrote: > Hey, > > thanks for your reply. The packages of dotdeb.org are build with IPv6 > support. When i'm using: > > nginx -V > > the output contains: > > --with-ipv6 > > Additional netstat -npl shows this output: > > tcp6 0 0 :::8

nginx http poller module

2013-04-30 Thread Dave Bailey
Hi, I've written an nginx module that allows the user to configure nginx worker processes to make detached, repeated "polling" HTTP requests. The request endpoint, method, URI, headers, and body are configurable, and it's also possible to register a set of callbacks to process the response status

Re: proxy_pass only if a file exists

2013-04-30 Thread mrtn
Sorry, I meant to say that (!-f $request_filename) check IS a terrible way to check the existence of the file, as suggested by the documentation. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,238747,238750#msg-238750 ___ nginx mailing list n

Re: nginx 1.2.1 won't start with large CRL

2013-04-30 Thread hoffmabc
The CRL cannot get any smaller as it's a DoD CRL. Also adding more memory does not solve the problem. It seems to have an issue with starting the server period with a large CRL. [alert] 19759#0: fork() failed while spawning "worker process" (12: Cannot allocate memory) Posted at Nginx Forum: htt

Re: Dynamic upstream configuration

2013-04-30 Thread António P . P . Almeida
No it does not unless you don't configure a shared SSL session cache. http://nginx.org/en/docs/http/ngx_http_ssl_module.html#ssl_session_cache I'm assuming that the upstream servers are Nginx also. If not adapt to the appropriate server session cache setup. appa On Tue, Apr 30, 2013 at 4:

proxy_pass only if a file exists

2013-04-30 Thread mrtn
I need to make sure a file actually exists before proxy_pass-ing the request to an upstream server. I don't serve existing files directly using Nginx because there are some application-specific logic i need to perform on the application server for such requests. I've looked at try_files, but it se

Re: Dynamic upstream configuration

2013-04-30 Thread mamoos1
A shame that no one has a solution for this... It's a really big performance hit whenever backend servers are https and nginx simply renegotiates SSL for each request. Is there any plan to support this? Some sort of backend connection pooling with SSL? Posted at Nginx Forum: http://forum.nginx.o

Re: rewrite difficulty

2013-04-30 Thread Jonathan Matthews
On 30 April 2013 03:36, tseveendorj wrote: > Hello, > > I have difficulty to convert apache like rewrite to nginx. This is my config > file of virtualhost on nginx. http://pastebin.com/HTtKXnFy OMFG. You win today's prize for "Nginx config I am least likely even to /try/ and change". Congrats! ;

Re: Howto set geoip_country for IPv4 and IPv6 databases?

2013-04-30 Thread Rancor
Hey, thanks for your reply. The packages of dotdeb.org are build with IPv6 support. When i'm using: nginx -V the output contains: --with-ipv6 Additional netstat -npl shows this output: tcp6 0 0 :::80 :::*LISTEN 4942/nginx tcp6

Re: Howto set geoip_country for IPv4 and IPv6 databases?

2013-04-30 Thread Ruslan Ermilov
On Tue, Apr 30, 2013 at 06:14:54AM -0400, Rancor wrote: > Hi, > > i'm trying to get this to work with the current NginX package 1.4.0 from > dotdeb.org (using --with-ipv6) on a debian squeeze system. When downloading > the GeoIP ipv6 binary from: > > http://dev.maxmind.com/geoip/geolite > > and

Re: Emulate SSI 'exec cmd' with nginx

2013-04-30 Thread lpr
Thank you! This solved my problem. Best regards Lukas Posted at Nginx Forum: http://forum.nginx.org/read.php?2,238561,238739#msg-238739 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Converting subdomain to path component without redirect ?

2013-04-30 Thread henrique matias
*i meant: This is my "working" nginx.config ( without the rewrite rules ): On 29 April 2013 22:02, henrique matias wrote: > Hello guys, > > Am having trouble setting up my nginx.config to transparently proxy the > subdomains and domains to the same app, but with different "path > components" ap

Re: Howto set geoip_country for IPv4 and IPv6 databases?

2013-04-30 Thread Rancor
Hi, i'm trying to get this to work with the current NginX package 1.4.0 from dotdeb.org (using --with-ipv6) on a debian squeeze system. When downloading the GeoIP ipv6 binary from: http://dev.maxmind.com/geoip/geolite and changing: geoip_country /etc/nginx/GeoIP.dat; to: geoip_country /e