Re: multiple listen directives

2013-09-16 Thread Axel
Thanks. This helps a lot. Regards, Axel Am 16.09.2013 15:45, schrieb Maxim Dounin: Hello! On Mon, Sep 16, 2013 at 03:14:41PM +0200, Axel wrote: Hi Igor, Am 16.09.2013 14:17, schrieb Igor Sysoev: >> >>server { >> listen 192.168.178.20:443 ssl; >> listen

How to disable output buffering with PHP and nginx

2013-09-16 Thread Ben Johnson
Hello, In an effort to resolve a different issue, I am trying to confirm that my stack is capable of servicing at least two simultaneous requests for a given PHP script. In an effort to confirm this, I have written a simple PHP script that runs for a specified period of time and outputs the numbe

Re: Status code 000 in the logs

2013-09-16 Thread Maxim Dounin
Hello! On Mon, Sep 16, 2013 at 12:22:17PM -0400, monkeybrain wrote: > What does status code 000 mean in the Nginx logs? I have the following in > the config: > > location = /get-img.pl > { > limit_req zone=slow burst=10; > proxy_pass http://service_pe

Status code 000 in the logs

2013-09-16 Thread monkeybrain
What does status code 000 mean in the Nginx logs? I have the following in the config: location = /get-img.pl { limit_req zone=slow burst=10; proxy_pass http://service_perl; } get-img.pl generates an image, writes it to disk and then returns "X-

Re: multiple listen directives

2013-09-16 Thread Maxim Dounin
Hello! On Mon, Sep 16, 2013 at 03:14:41PM +0200, Axel wrote: > Hi Igor, > > Am 16.09.2013 14:17, schrieb Igor Sysoev: > >> > >>server { > >> listen 192.168.178.20:443 ssl; > >> listen 192.168.178.30:443 ssl; > >> listen 192.168.178.4

Re: PHP, AJAX: large data being truncated on nginx

2013-09-16 Thread Maxim Dounin
Hello! On Mon, Sep 16, 2013 at 06:48:48PM +0530, eric eric wrote: > Hello, > > My PHP installation is configured to accept 8M of post data and use to 128M > of physical memory. > > I have also configured following in nginx conf > > client_body_buffer_size 100k; > client_header_buffer_size 100

PHP, AJAX: large data being truncated on nginx

2013-09-16 Thread eric eric
Hello, My PHP installation is configured to accept 8M of post data and use to 128M of physical memory. I have also configured following in nginx conf client_body_buffer_size 100k; client_header_buffer_size 100k; client_max_body_size 16m; large_client_header_buffers 200 100k; When i try to post

Re: multiple listen directives

2013-09-16 Thread Axel
Hi Igor, Am 16.09.2013 14:17, schrieb Igor Sysoev: server { listen 192.168.178.20:443 ssl; listen 192.168.178.30:443 ssl; listen 192.168.178.40:443 ssl; server_namemy.example.com; ... ... } Regards, Axel Add

Re: multiple listen directives

2013-09-16 Thread Igor Sysoev
On Sep 16, 2013, at 16:11 , Axel wrote: > Hi all, > > I want to build an active/active cluster and therefore configure nginx to > listen on multiple IP adresses. > > I read http://nginx.org/en/doc/http/ngx_http_core_module.html#listen > but found no information if I can use multiple listen dire

multiple listen directives

2013-09-16 Thread Axel
Hi all, I want to build an active/active cluster and therefore configure nginx to listen on multiple IP adresses. I read http://nginx.org/en/doc/http/ngx_http_core_module.html#listen but found no information if I can use multiple listen directives for ssl without activating the interface. C