diff --git a/docker/nginx/conf.d/client.conf b/docker/nginx/conf.d/client.conf index cc21b52b..6dca374b 100644 --- a/docker/nginx/conf.d/client.conf +++ b/docker/nginx/conf.d/client.conf @@ -194,6 +194,7 @@ server { proxy_cache_key $uri; proxy_cache_min_uses 10; proxy_cache_valid 200 1440m; + proxy_cache_bypass $cookie_nocache $arg_nocache; # add cache bypass option } location ~ "^/file/([a-zA-Z0-9-_]{46}(/.*)?)$" { @@ -220,5 +221,6 @@ server { proxy_cache_key $uri; proxy_cache_min_uses 10; proxy_cache_valid 200 1440m; + proxy_cache_bypass $cookie_nocache $arg_nocache; # add cache bypass option } }