[prev in list] [next in list] [prev in thread] [next in thread] 

List:       nginx
Subject:    Re: Bypass cache if PHPSESSID exists
From:       Kirill A. Korinsky <kirill () korins ! ky>
Date:       2024-05-09 18:04:12
Message-ID: 5285e6d1a9bba6f6 () mx2 ! catap ! net
[Download RAW message or body]

On Thu, 09 May 2024 18:11:18 +0100,
Christos Chatzaras <chris@cretaforce.gr> wrote:
> 
> 		if ($http_cookie ~* "_mcnc|PHPSESSID") {
> 			set $no_cache "1";
> 		}
>

Try to use map instead if.

-- 
wbr, Kirill
_______________________________________________
nginx mailing list
nginx@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic