Merge pull request #294 from NebulousLabs/post-skynet-skyfile-trailing-slash-issue
do not match empty skyfile path
This commit is contained in:
commit
488d1513c7
|
@ -89,7 +89,7 @@ server {
|
||||||
proxy_pass http://siad-upload/skynet/skyfile/$dir1/$dir2/$dir3/$dir4$is_args$args;
|
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
|
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
|
client_max_body_size 1000M; # make sure to limit the size of upload to a sane value
|
||||||
proxy_read_timeout 600;
|
proxy_read_timeout 600;
|
||||||
|
|
Reference in New Issue