set client_max_body_size for entire server block
This commit is contained in:
@@ -3,6 +3,8 @@ server {
|
|||||||
|
|
||||||
#access_log /var/log/nginx/host.access.log main;
|
#access_log /var/log/nginx/host.access.log main;
|
||||||
|
|
||||||
|
client_max_body_size 100G;
|
||||||
|
|
||||||
# send all requests to the `/validate` endpoint for authorization
|
# send all requests to the `/validate` endpoint for authorization
|
||||||
auth_request /validate;
|
auth_request /validate;
|
||||||
|
|
||||||
@@ -40,6 +42,5 @@ server {
|
|||||||
dav_access user:rw group:rw all:r;
|
dav_access user:rw group:rw all:r;
|
||||||
dav_methods PUT;
|
dav_methods PUT;
|
||||||
dav_ext_methods PROPFIND OPTIONS LOCK UNLOCK;
|
dav_ext_methods PROPFIND OPTIONS LOCK UNLOCK;
|
||||||
client_max_body_size 100G;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user