Welcome! Log In Create A New Profile

Advanced

Re: ngx_cache_purge + query string

Indo Php
May 05, 2014 07:00AM
Thanks!

On Monday, May 5, 2014 5:35 PM, Piotr Sikora <piotr@cloudflare..com> wrote:

Hello,

> Below is my config
>
>        location ~ /purge(/.*) {
>                allow  127..0.0.1;
>                allow  10.10.0.0/24;
>                deny    all;
>                proxy_cache_purge  one  backend$1;
>        }

$1 doesn't contain query strings, you should use:

    proxy_cache_purge  one  backend$1$is_args$args;

or alternatively, use "same location" configuration. Please refer to
the documentation for details.


Best regards,
Piotr Sikora

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

ngx_cache_purge + query string

Indo Php May 05, 2014 04:10AM

Re: ngx_cache_purge + query string

Piotr Sikora May 05, 2014 05:22AM

Re: ngx_cache_purge + query string

Indo Php May 05, 2014 06:32AM

Re: ngx_cache_purge + query string

Piotr Sikora May 05, 2014 06:36AM

Re: ngx_cache_purge + query string

Indo Php May 05, 2014 07:00AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 108
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready