do not match empty skyfile path
This commit is contained in:
parent
dc78db0142
commit
0494389f20
|
@ -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;
|
||||
|
|
Reference in New Issue