fix admin response cache leak to non-admin users via nginx proxy_cache (#23261)

This commit is contained in:
Josh Hawkins 2026-05-20 07:29:37 -05:00 committed by GitHub
parent 26d31300e6
commit 06b059c36a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -259,6 +259,7 @@ http {
include proxy.conf;
proxy_cache api_cache;
proxy_cache_key "$scheme$proxy_host$request_uri|$role|$groups|$user";
proxy_cache_lock on;
proxy_cache_use_stale updating;
proxy_cache_valid 200 5s;