mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-06-02 07:00:32 +00:00
fix admin response cache leak to non-admin users via nginx proxy_cache (#23261)
This commit is contained in:
parent
26d31300e6
commit
06b059c36a
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user