use scryfall image header for redirects

This commit is contained in:
Alex
2026-11-20 15:18:44 -07:00
parent df6c320ee6
commit 7399582c7f
+2
View File
@@ -91,6 +91,8 @@ data:
proxy_redirect http://mtg.aleshym.co:8080/ /;
proxy_redirect http://playmat.aleshym.co:8080/ /;
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_uri;