Reviewed-on: https://storage.hided.net/gitea/devsam/docker/pulls/1
Co-authored-by: hide_d <hided62@gmail.com>
Co-committed-by: hide_d <hided62@gmail.com>
This commit was merged in pull request #1.
This commit is contained in:
2021-08-19 14:46:33 +09:00
parent a2b3a14384
commit 995c5fa94b
5 changed files with 14 additions and 4 deletions
+5
View File
@@ -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;