Update nginx config

This commit is contained in:
Matt Isenhower 2022-11-15 13:46:41 -05:00
parent a34ea396f6
commit 9534e522a1

View File

@ -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;