Re: Re: a problem while using nginx1.4.6 and nginx1.8.0 for web service

2015-05-21 Thread tanfen...@banggood.cn
On Thursday 21 May 2015 20:16:18 谭芬芬 wrote: > Hello, > > > This is Amily. > I meet a problem while using nginx1.4.6 and nginx1.8.0 for web service. > [..] ? Could you reproduce the problem without 3rd-party modules or patches? ? >We do not use?3rd-party modules or patches.We use ?configure

htaccess to nginx conversion?

2015-05-21 Thread tdubs
Hello, I am working with a panel in which requires the pages to function properly from the .htaccess file. However, I am no longer using Apache and have decided to do a Centmin Mod LEMP web stack to improve performance and whatnot. Anyways, I used this online converter http://winginx.com/en/htacce

Re: DNS configuration to invoke complete URL

2015-05-21 Thread vikrant singh
First thing I would have done is to check max open file limit in system where I am getting it error. YOu can check that by "ulimit -a" command. If it is very low then increasing it might fix it. Alternatively you can try playing with config NGINX http://wiki.nginx.org/CoreModule#worker_rlimit_nofi

Re: DNS configuration to invoke complete URL

2015-05-21 Thread smsmaddy1981
Can somebody answer my query pls.? Posted at Nginx Forum: http://forum.nginx.org/read.php?2,258982,259050#msg-259050 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: ip_hash in active_active nginx setup

2015-05-21 Thread itpp2012
s_n Wrote: --- > Hi all, > > we want to use a F5 loadbalancer in front of two nginx instances, > which balance the load to our app-nodes. Why not cut out the F5, use stream to balance between the same instance(s) (loop back) with either a single

Re: ip_hash in active_active nginx setup

2015-05-21 Thread Maxim Dounin
Hello! On Thu, May 21, 2015 at 12:14:36PM -0400, s_n wrote: > Hi all, > > we want to use a F5 loadbalancer in front of two nginx instances, which > balance the load to our app-nodes. > > The F5 loadbalancer distributes incoming requests via round-robin algorithm > to the two nginx instances. >

ip_hash in active_active nginx setup

2015-05-21 Thread s_n
Hi all, we want to use a F5 loadbalancer in front of two nginx instances, which balance the load to our app-nodes. The F5 loadbalancer distributes incoming requests via round-robin algorithm to the two nginx instances. The nginx instances should be configured to use ip_hash to distribute the req

Cancel ongoing ngx_http_request_t

2015-05-21 Thread donatasm
So I'm continuing to work on my simple timeout module: http://forum.nginx.org/read.php?2,259019 Now, when timer elapses, I want to cancel ongoing http request, here's my timer handler: static void simple_timeout_handler(ngx_event_t* timeout_event) { ngx_http_request_t* request = (ngx_http_reque

Re: Best place for metrics module

2015-05-21 Thread Maxim Dounin
Hello! On Thu, May 21, 2015 at 08:22:43AM -0400, donatasm wrote: > I want to write my custom nginx module for measuring request processing time > for every HTTP request received. I need to start counting request processing > time as early as nginx receives first byte of a request and finish, when

Re: a problem while using nginx1.4.6 and nginx1.8.0 for web service

2015-05-21 Thread Valentin V. Bartenev
On Thursday 21 May 2015 20:16:18 谭芬芬 wrote: > Hello, > > > This is Amily. > I meet a problem while using nginx1.4.6 and nginx1.8.0 for web service. > [..] Could you reproduce the problem without 3rd-party modules or patches? wbr, Valentin V. Bartenev

Best place for metrics module

2015-05-21 Thread donatasm
I want to write my custom nginx module for measuring request processing time for every HTTP request received. I need to start counting request processing time as early as nginx receives first byte of a request and finish, when it sends the last byte in a response. What would the best place be in n

Re: Simple timeout module

2015-05-21 Thread donatasm
Thanks, it worked as I added ngx_del_timer call in ngx_pool_cleanup_t handler of a request Posted at Nginx Forum: http://forum.nginx.org/read.php?2,259019,259034#msg-259034 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinf

Stable Ubuntu PPA

2015-05-21 Thread Jeppe Toustrup
Hi I have recently upgraded our fleet of Ubuntu servers to nginx 1.8.0 via the nginx/stable PPA[1]. After the upgrade we are seeing two - probably related - problems. They are: 1. When the log files are rotated by logrotate(8) nginx doesn't start writing to the new log files until it's reloaded,