From b4bbbab5f69089da4ee84f6dc2fb781ba189155e Mon Sep 17 00:00:00 2001 From: purerosefallen <78877@qq.com> Date: Thu, 22 Aug 2019 22:25:11 +0800 Subject: [PATCH] no caching chart files --- docker/taiko-web-nginx.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker/taiko-web-nginx.conf b/docker/taiko-web-nginx.conf index cdf2009..296a874 100644 --- a/docker/taiko-web-nginx.conf +++ b/docker/taiko-web-nginx.conf @@ -17,6 +17,9 @@ server { location ~ ^/songs/([0-9]+)/preview\.mp3$ { try_files $uri /api/preview?id=$1; } + location ~ ^/songs/([0-9]+)/*\.(tja|osu)$ { + add_header Cache-Control no-store; + } } location /p2 {