set client_max_body_size for entire server block

This commit is contained in:
2024-12-08 02:59:42 -06:00
parent ad50519b4f
commit e6cc5e5e1b

View File

@@ -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;
} }
} }