diff --git a/docker/nginx/conf.d/default.conf b/docker/nginx/conf.d/default.conf index 5ba59d2..a055197 100644 --- a/docker/nginx/conf.d/default.conf +++ b/docker/nginx/conf.d/default.conf @@ -8,6 +8,13 @@ server { try_files $uri $uri/ /index.html; } + # Force browsers to check for updated data + location /data/ { + add_header Cache-Control no-cache; + add_header Access-Control-Allow-Origin *; + autoindex on; + } + # Gear redirect location ~ /nso/g/(.*) { return 302 https://s.nintendo.com/av5ja-lp1/znca/game/4834290508791808?p=/gesotown/$1;