From c3a8b17a401499353c5a5ec70ae83e82933dc402 Mon Sep 17 00:00:00 2001 From: hide_d Date: Thu, 19 Aug 2021 14:45:03 +0900 Subject: [PATCH] =?UTF-8?q?rhymix=202.0=20conf=20=EC=BD=94=EB=93=9C=20?= =?UTF-8?q?=EC=A0=81=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hidche/web/rhymix.conf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hidche/web/rhymix.conf b/hidche/web/rhymix.conf index 245608d..fe2c105 100644 --- a/hidche/web/rhymix.conf +++ b/hidche/web/rhymix.conf @@ -25,6 +25,11 @@ location ~ ^/board/(.+)\.min\.(css|js)$ { try_files $uri $uri/ /board/$1.$2; } +# fix download URL when other directives for static files are present +location ~ ^/board/files/download/ { + try_files $uri $uri/ /board/index.php$is_args$args; +} + # all other short URLs location /board/ { try_files $uri $uri/ /board/index.php$is_args$args;