Re: flush temp directory

2013-08-14 Thread ron ramos
oooppp sorry found the cause "client_body_in_file_only on" changed it to clean and it's doing it's job. but am i missing something on PHP side or config side as it seems i am getting the same response time using php-fpm without the accelerated support settings and also using php-cgi, response time

Re: Cookie/Session Expired - OWA SSL Reverse Proxy

2013-08-14 Thread Jonathan Matthews
On 14 August 2013 18:20, spacecwoboy wrote: > Hi. > > Trying to configure a reverse proxy to allow external access to an outlook > web access server. I am able to route traffic through the NGINX to the OWA > server, present the web page, and place the username & pw into the form. > OWA rejects val

Cookie/Session Expired - OWA SSL Reverse Proxy

2013-08-14 Thread spacecwoboy
Hi. Trying to configure a reverse proxy to allow external access to an outlook web access server. I am able to route traffic through the NGINX to the OWA server, present the web page, and place the username & pw into the form. OWA rejects valid username/pwd's with a: "Your session has timed out..

Re: Internals: how do I send large file to the client?

2013-08-14 Thread ruslan_osmanov
I know those commands. But the question was about Nginx's internals. I thought somebody would suggest a pseudo-code snippet similar to the following: ngx_buf_t b; size_t length = 0; loop (files as file) { ... u_char *filename = file->name; if (ngx_open_cached_file(ccf->open_file

Re: Limit connection to specific location

2013-08-14 Thread Valentin V. Bartenev
On Wednesday 14 August 2013 15:54:50 Jaap van Arragon wrote: > I've tried the limit_req but the problem is that it limits the > simultaneous requests and I want to limit the total request per hour from > one ip (not necessarily simultaneously) The number of simultaneous requests is limited by the

Re: Internals: how do I send large file to the client?

2013-08-14 Thread Bhushan Sonawane
have u know the split command in linux . you can use that to split file then send it after you can use join command to join files On Tue, Aug 13, 2013 at 1:00 AM, ruslan_osmanov wrote: > Hi, > > I'm writing a filter module which implies a backend to be sending XML with > information about files

Re: Limit connection to specific location

2013-08-14 Thread Jaap van Arragon
I've tried the limit_req but the problem is that it limits the simultaneous requests and I want to limit the total request per hour from one ip (not necessarily simultaneously) We've fixed it in the application now, there seemed to be a django view module for it. Thanks for the options. Regards

flush temp directory

2013-08-14 Thread ron ramos
Hi All, I am trying to test accelerated upload on nginx/php-fpm/php-cgi setup and comparing different scenarios e.g one where /temp is a tmpfs, one where it is a disk partition and you will also notice where in i test using php-cgi. as i need to understand which can handle file uploads faster.

Re: nginx-extras (1.4.1 Ubuntu precise) cache loader/manager issue

2013-08-14 Thread nmarques
> Why don't you use "proxy_hide_header" (or "fastcgi_hide_header" in > case if you > use fastcgi)? > > http://nginx.org/r/proxy_hide_header > http://nginx.org/r/fastcgi_hide_header Worked perfectly for me; Thanks for poiting this. > The "nginx-extras" package from debian/ubuntu community reposi

ssl_cipher for mail not working

2013-08-14 Thread MKl
Hello, to increase security of SSL I added some eliptic-curves-ciphers to the chain. For HTTPS it's working fine, but for the mail proxy it does not work, I only always get RC4-SHA instead of the ECDH ciphers. See configuration at the end of this message. I'm testing it with: openssl s_client -ci

Re: Proxying with/without listen in server block

2013-08-14 Thread Francis Daly
On Wed, Aug 14, 2013 at 05:48:38AM -0400, tcbarrett wrote: Hi there, > Am I missing this: I think you're missing this: http://nginx.org/en/docs/http/request_processing.html#mixed_name_ip_based_servers coupled with the default value for "listen", as in "what is meant by not having a listen in a

Re: Proxying with/without listen in server block

2013-08-14 Thread tcbarrett
Am I missing this: "If a server is the only server for a listen port, then nginx will not test server names at all (and will not build the hash tables for the listen port). However, there is one exception. If a server name is a regular expression with captures, then nginx has to execute the expres

Proxying with/without listen in server block

2013-08-14 Thread tcbarrett
Does having a listen directive in a server block over ride blocks without? I have a slightly complex set up, proxying traffic depending on url to various other machines on the network. Something a bit like this: http://pastebin.com/MSAFJKLV The middle block hogs all the traffic, and all requests

Re: nginx-extras (1.4.1 Ubuntu precise) cache loader/manager issue

2013-08-14 Thread Valentin V. Bartenev
On Wednesday 14 August 2013 04:39:04 nmarques wrote: > Dear people, > > I used for a while the nginx-extras 1.4.1 for Ubuntu 12.04 LTS (precise); I > used this package since it supported 'more_clear_headers' which was useful > to hide some headers (LifeRay headers). As you have guessed, I'm using