Re: Only recompile particular module when developing

2013-09-27 Thread aschlosberg
A little bit more experimenting and I discovered that skipping the configuration step and just running make && make install again will achieve what I wanted. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,243222,243223#msg-243223 ___ nginx ma

Only recompile particular module when developing

2013-09-27 Thread aschlosberg
Hello I'm currently developing a new module and it's frustrating having to recompile every module each time. How can I skip all modules but my new one and then link the pre-existing object files? Does anyone have any other tips to streamline the module development / testing cycle? Thanks Arran

Re: Overhead when enabling debug?

2013-09-27 Thread Yichun Zhang (agentzh)
Hello! On Fri, Sep 27, 2013 at 6:16 AM, mex wrote: > i have a question regarding the --with-debug - option; do i have to expect > much overhead, > when compiling nginx with that option, but have it disabled per default? > We avoid enabling debug logs in production because when we really need to d

Re: configuration of 1000's entries

2013-09-27 Thread Francis Daly
On Fri, Sep 27, 2013 at 04:22:25AM -0700, Shaun Savage wrote: Hi there, None of what follows is tested by me. So double-check before committing to anything :-) > I have many "virtual" paths on one nginx server. What I mean by this is > there can be many top level paths, where each one has a co

Re: [ANNOUNCE] nginx-http-rdns module

2013-09-27 Thread itpp2012
Here's a fix for a typo; ngx_http_rdns_module.c -l709 static void dns_handler(ngx_resolver_ctx_t * rctx) {; +l709 static void dns_handler(ngx_resolver_ctx_t * rctx) { Posted at Nginx Forum: http://forum.nginx.org/read.php?2,243191,243213#msg-243213 __

Re: How to make proxy revalidate resource at origin

2013-09-27 Thread itpp2012
Maybe via Lua? Posted at Nginx Forum: http://forum.nginx.org/read.php?2,243204,243211#msg-243211 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: How to make proxy revalidate resource at origin

2013-09-27 Thread Thijs Koerselman
Aha, I'm hoping that will include If-None-Match, since I'm using etags instead of last modified dates. Is there maybe a 3rd party module that supports this already? On Fri, Sep 27, 2013 at 5:14 PM, Andrew Alexeev wrote: > On Sep 27, 2013, at 7:09 PM, Thijs Koerselman > wrote: > > > Hi, > > >

Re: How to make proxy revalidate resource at origin

2013-09-27 Thread Andrew Alexeev
On Sep 27, 2013, at 7:09 PM, Thijs Koerselman wrote: > Hi, > > I posted this on stackoverflow already but I thought I might have more luck > here :) > > http://stackoverflow.com/questions/19023777/how-to-make-proxy-revalidate-resource-from-origin > > In short, I can't find a way to make nginx

How to make proxy revalidate resource at origin

2013-09-27 Thread Thijs Koerselman
Hi, I posted this on stackoverflow already but I thought I might have more luck here :) http://stackoverflow.com/questions/19023777/how-to-make-proxy-revalidate-resource-from-origin In short, I can't find a way to make nginx revalidate a cached resource with the origin. Whenever nginx is in fron

Re: Overhead when enabling debug?

2013-09-27 Thread Maxim Dounin
Hello! On Fri, Sep 27, 2013 at 09:16:39AM -0400, mex wrote: > i have a question regarding the --with-debug - option; do i have to expect > much overhead, > when compiling nginx with that option, but have it disabled per default? > > i'd like to have it at hand for debugging certain issues ever

Re: Overhead when enabling debug?

2013-09-27 Thread itpp2012
>From what I've seen here there is a small <5% overhead when compiled with debug and 5-10% while debug logging is active. I want my 5% :) so I make 2 versions. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,243201,243202#msg-243202 ___ nginx

Overhead when enabling debug?

2013-09-27 Thread mex
i have a question regarding the --with-debug - option; do i have to expect much overhead, when compiling nginx with that option, but have it disabled per default? i'd like to have it at hand for debugging certain issues every then and there. regards, mex Posted at Nginx Forum: http://fo

[ANNOUNCE] nginx-http-rdns module

2013-09-27 Thread Dmitry Shurupov
Hi guys! Our small Russian company (flant.com) is pleased to announce new module called nginx-http-rdns. As you can see from its name, the main feature of this module is making reverse DNS lookups to get DNS name of client's IP address. Features: * usual rDNS lookup (saving result in $rdns

Re: Stumped with issue of Nginx passing requests to php-fpm while using SSL

2013-09-27 Thread Maxim Dounin
Hello! On Fri, Sep 27, 2013 at 10:45:34AM +1200, Steve Holdoway wrote: > OK, the problem is that you're listening on *http* on port 443. You need > to use > > listen 443 ssl [default]; > > for ssl. The config posted uses "ssl on", which is a valid way to configure ssl on all sockets u

Re: Stumped with issue of Nginx passing requests to php-fpm while using SSL

2013-09-27 Thread Maxim Dounin
Hello! On Thu, Sep 26, 2013 at 10:34:46PM +, Eric Tyrer wrote: > Problem i have is that after attempting to login to wordpress over SSL php is > not being processed/executed. > > I've got a Wordpress 3.5 multi-site using subdirectories. [...] > nginx handles requests fine through port 80

configuration of 1000's entries

2013-09-27 Thread Shaun Savage
I have many "virtual" paths on one nginx server. What I mean by this is there can be many top level paths, where each one has a cookie, static files, and a upstream server. The way I am doing it now is just duplicate every path. Is there a way to do this 'faster' 'less writing' 'better'?