thank you for the advice! i tried doing that before though it did not work so i thought there could be another solution..in any case tried that again, set it right before the proxypass condition and it's still passing the type through...may i show u my config to see what might be overrirding that ? > Date: Tue, 23 Dec 2014 18:42:50 +0300 > From: mdounin@mdounin.ru > To: nginx@nginx.orgby dnalor - Nginx Mailing List - English
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 also tried mapping the content-type and using the variable... though that did not wby dnalor - Nginx Mailing List - English
thank you, that's exactly what i want ---------------------------------------- > Date: Fri, 31 Oct 2014 03:44:08 -0700 > From: rpaprocki@fearnothingproductions.net > To: nginx@nginx.org > Subject: Re: invalidate a certain key in my cache > > You'll want to use http://labs.frickle.com/nginx_ngx_cache_purge/ > > On 10/31/2014 03:43 AM, Roland RoLaNd wrote: >> I haveby dnalor - Nginx Mailing List - English
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.. it could be as simple as requesting the same exact request but adding ?remove_key=1 would that be possiby dnalor - Nginx Mailing List - English
Thank you Francis for your response and excuse the late reply.Using map is cool idea, though i have around 2000 possible imageId and size and more than 9 million user id.. they're always imageIDs are prone to change, wouldn't that mean i have to add them manually every time ? On another note, let's say i mapped all wanted cache keys, how can i force the incoming requests to match with that keyby dnalor - Nginx Mailing List - English
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/giveit.view&imageid=23&size=80 Is there a way i could forceby dnalor - Nginx Mailing List - English
I am new to nginx , i read a lot of tutorials and managed to set things up properly and fairly happy with my setup. now i am trying to dig deeper into nginx so i enrich my knowledge and obviously accomplish my tasks With that in mind, i need to learn how to match certain query strings, there's a lot of "snippets" online pointing how to match args,args_* and so on though i cant findby dnalor - How to...