diff --git a/apps/playmat/imgcache-configmap.yaml b/apps/playmat/imgcache-configmap.yaml index c87b81b..7679132 100644 --- a/apps/playmat/imgcache-configmap.yaml +++ b/apps/playmat/imgcache-configmap.yaml @@ -65,12 +65,6 @@ data: limit_req zone=scryfall_upstream burst=${IMGCACHE_API_BURST}; proxy_pass http://127.0.0.1:8081/cards/collection; proxy_cache off; - proxy_cache scryfall_api; - proxy_cache_methods GET HEAD POST; - proxy_cache_lock on; - proxy_cache_key "$request_method$request_uri$request_body"; - proxy_cache_valid 200 24h; - proxy_cache_valid 403 1m; } location /img/api/ { limit_req zone=scryfall_upstream burst=${IMGCACHE_API_BURST}; @@ -82,11 +76,6 @@ data: proxy_redirect https://cards.scryfall.io/ /img/cards/; proxy_hide_header Location; add_header Location $upstream_http_x_scryfall_card_image always; - proxy_cache scryfall_api; - proxy_cache_lock on; - proxy_cache_key "$request_method$request_uri"; - proxy_cache_valid 200 301 302 24h; - proxy_cache_valid 403 1m; } location / { return 404; } }