Hello!
On Sat, Sep 12, 2020 at 12:34:15PM +0530, Bhuvan Gupta wrote:
[...]
> http {
> keepalive_timeout 65;
> server {
> listen 80;
> server_name localhost;
> location /session {
> proxy_pass https://hookb.in/VGQ3wdGGzKSE22bwzRdP;
> prox
Hello,
I have a variable that shows if a certain cookie exists in the Request,
e.g. $req_has_somecookie, and I want to be able to use proxy_cache only for
specific URIs, e.g. /slow-page/ if the variable is 0.
I know that "if" is evil as it creates a new location scope.
What's the best way to han