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;