mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 07:40:43 +00:00
reduce public_lobbies cache to 500ms
This commit is contained in:
+1
-1
@@ -75,7 +75,7 @@ server {
|
||||
|
||||
# Cache configuration
|
||||
proxy_cache API_CACHE;
|
||||
proxy_cache_valid 200 1s; # Cache successful responses for 1 second
|
||||
proxy_cache_valid 200 500ms;
|
||||
proxy_cache_use_stale updating error timeout http_500 http_502 http_503 http_504;
|
||||
proxy_cache_lock on;
|
||||
add_header X-Cache-Status $upstream_cache_status;
|
||||
|
||||
Reference in New Issue
Block a user