no caching chart files

This commit is contained in:
purerosefallen 2019-08-22 22:25:11 +08:00
parent 028db66d91
commit b4bbbab5f6
No known key found for this signature in database
GPG Key ID: E6D78C90943A3185

View File

@ -17,6 +17,9 @@ server {
location ~ ^/songs/([0-9]+)/preview\.mp3$ { location ~ ^/songs/([0-9]+)/preview\.mp3$ {
try_files $uri /api/preview?id=$1; try_files $uri /api/preview?id=$1;
} }
location ~ ^/songs/([0-9]+)/*\.(tja|osu)$ {
add_header Cache-Control no-store;
}
} }
location /p2 { location /p2 {