disable poisoned playmat api cache
This commit is contained in:
@@ -64,6 +64,7 @@ data:
|
||||
limit_except POST { deny all; }
|
||||
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;
|
||||
@@ -74,6 +75,7 @@ data:
|
||||
location /img/api/ {
|
||||
limit_req zone=scryfall_upstream burst=${IMGCACHE_API_BURST};
|
||||
proxy_pass http://127.0.0.1:8081/;
|
||||
proxy_cache off;
|
||||
proxy_redirect http://127.0.0.1:8080/ /;
|
||||
proxy_redirect http://mtg.aleshym.co:8080/ /;
|
||||
proxy_redirect http://playmat.aleshym.co:8080/ /;
|
||||
|
||||
Reference in New Issue
Block a user