do not match empty skyfile path

This commit is contained in:
Karol Wypchlo 2020-07-15 17:09:22 +02:00
parent dc78db0142
commit 0494389f20
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ server {
proxy_pass http://siad-upload/skynet/skyfile/$dir1/$dir2/$dir3/$dir4$is_args$args;
}
location ~ "/skynet/skyfile/(.*)" {
location ~ "/skynet/skyfile/(.+)" {
limit_conn uploads_by_ip 10; # ddos protection: max 10 uploads at a time
client_max_body_size 1000M; # make sure to limit the size of upload to a sane value
proxy_read_timeout 600;