Increase the request body size of the /skynet/restore endpoint to 5MB.

This commit is contained in:
Ivaylo Novakov 2021-11-03 09:57:55 +01:00
parent 2988f9e9ab
commit 45688eeab1
No known key found for this signature in database
GPG Key ID: 06B9354AB08BE9C6
1 changed files with 8 additions and 4 deletions

View File

@ -112,6 +112,10 @@ location /skynet/registry {
include /etc/nginx/conf.d/include/location-skynet-registry;
}
location /skynet/restore {
client_max_body_size 5M;
}
location /skynet/skyfile {
include /etc/nginx/conf.d/include/cors;
include /etc/nginx/conf.d/include/sia-auth;