From 9534e522a1a9df4f9664e6207d3e287c910ecfca Mon Sep 17 00:00:00 2001 From: Matt Isenhower Date: Tue, 15 Nov 2022 13:46:41 -0500 Subject: [PATCH] Update nginx config --- docker/nginx/conf.d/default.conf | 7 +++++++ 1 file changed, 7 insertions(+) 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;