RE: Ignore content-type while forwarding to backend proxy

2014-12-23 Thread Roland RoLaNd
rding that ? > Date: Tue, 23 Dec 2014 18:42:50 +0300 > From: mdou...@mdounin.ru > To: nginx@nginx.org > Subject: Re: Ignore content-type while forwarding to backend proxy > > Hello! > > On Tue, Dec 23, 2014 at 05:10:09PM +0200, Roland RoLaNd wrote: > > > one

Ignore content-type while forwarding to backend proxy

2014-12-23 Thread Roland RoLaNd
one of my apps, specifically those on IOS forwarded a content-type header..this is causing my backend server to mess up its security signature check i need to be able to ignore content-type headers... assigning the header as empty "" does not work, (proxy_set_header Accept-Encoding "";)and al

RE: invalidate a certain key in my cache

2014-10-31 Thread Roland RoLaNd
use http://labs.frickle.com/nginx_ngx_cache_purge/ > > On 10/31/2014 03:43 AM, Roland RoLaNd wrote: >> I have nginx setup as a caching proxy, which caches redirect responses from >> backend servers. >> >> I want a way to invalidate a certain redirect/key from my cache.

invalidate a certain key in my cache

2014-10-31 Thread Roland RoLaNd
I have nginx setup as a caching proxy, which caches redirect responses from backend servers. I want a way to invalidate a certain redirect/key from my cache. i usually go into my caching dir and grep/remove it. though i would like to do it dynamically by issuing a specific request to nginx.. i

RE: trouble changing uri to query string

2014-09-21 Thread Roland RoLaNd
the $args reads from the previously set $URI this is obviously a pseudo code, but i'm hoping i'm on the right path here... > Date: Wed, 17 Sep 2014 08:17:07 +0100 > From: fran...@daoine.org > To: nginx@nginx.org > Subject: Re: trouble changing uri to query string > >

trouble changing uri to query string

2014-09-15 Thread Roland RoLaNd
i have a url looking as such:   mysite.com/some/path/rest/v2/giveit.view&user=282&imageid=23&size=80  i want the cache key to match imageid=23&size=80 without the "user" part. $args isn't matching because incoming url lacks the "?" part, so $uri is detected as mysite.com/some/path/rest/v2/give

Query_String not matching

2014-09-11 Thread Roland RoLaNd
Hello, I am obviously a new nginx user, so please bear with me. I have setup nginx as a content caching service, running on port 80 and directing traffic to backend servers. all works okay, though one specific scenario where i want to cache an object matching a specific query string. Here's a