Problem with uwsgi_no_cache

2015-08-12 Thread daveyfx
Hi all - I'm attempting to exclude application/json data from storing in nginx's cache. All other content types are OK to cache. I thought that the below config would work for me, but nginx is still caching everything that is proxying. What am I doing wrong? ## in http block ## map $http_c

[ANN] Nginx-Clojure v0.4.1 Release!

2015-08-12 Thread xfeep
0.4.1 (2015-08-12) New Feature: Coroutine based socket supports unix domain socket New Feature: APIs for Embedding Nginx-Clojure into a standard Clojure/Java/Groovy App (issue #86). This feature makes debug/test with Nginx Clojure/Java/Groovy handlers very easy. New Feature: Autodetect jvm_path (i

Re: Using Nginx with chunking

2015-08-12 Thread Maxim Dounin
Hello! On Wed, Aug 12, 2015 at 01:05:13PM +, Arun John (arujohn) wrote: > But even for range requests, it should return the bytes requested, > correct? Am I missing any configuration? The question is the same: what makes you think that nginx doesn't return bytes requested? As per logs you'

Re: Using Nginx with chunking

2015-08-12 Thread Reinis Rozitis
If you see the logs the last three writes seem to be for the same chunk of size 6672 bytes I imagine this is a typo (and not what the client expects) because the length is 6272 bytes. But even for range requests, it should return the bytes requested, correct? Am I missing any configuration?

Re: Using Nginx with chunking

2015-08-12 Thread Arun John (arujohn)
Hi Maxim, Sorry for the confusion. But even for range requests, it should return the bytes requested, correct? Am I missing any configuration? Regards, Arun On 8/12/15, 6:23 PM, "nginx on behalf of Maxim Dounin" wrote: >Hello! > >On Wed, Aug 12, 2015 at 09:30:15AM +, Arun John (arujohn) w

Re: Using Nginx with chunking

2015-08-12 Thread Maxim Dounin
Hello! On Wed, Aug 12, 2015 at 09:30:15AM +, Arun John (arujohn) wrote: > Hello, > > I have nginx configured to send files in chunks to remote > clients. The clients will contact the server to send it in > chunks of 1 MB each. I am using nginx version 1.8.0 You confuse chunks and range re

[ANN] OpenResty 1.9.3.1 released

2015-08-12 Thread Yichun Zhang (agentzh)
Hi folks! I am glad to announce the new formal release, 1.9.3.1, of the OpenResty bundle: https://openresty.org/#Download This is the first OpenResty formal release includes an NGINX 1.9.x core. For OpenResty's release policy, please refer to the following documentation: https://openres

Re: Nginx serving self-signed cert instead of the one defined in conf

2015-08-12 Thread Arno0x0x
For the record: problem solved. SHAME on me !! The problem was simply that I copied the wrong certificates from my old installation (nginx 1.6.2) to the new one (nginx 1.8.0). As often, the problem lies in front of the keyboard :-) Thanks Maxim for your assistance in any case, I learnt a few th

Re: Should we add php-fpm for each Virtual Host or in Global Configuration ?

2015-08-12 Thread Anoop Alias
Please see http://nginx.org/en/docs/http/ngx_http_core_module.html#location location should be in a server or location context .So you cannot define it outside of all the server context's. One thing you can do is define a single location block for php and include it in every server context which