diff --git a/images/nginx/config/default.conf b/images/nginx/config/default.conf
index fc210e17a2b835c2322cafac1db778960facd6aa..d3b7857c7637d55c99609dca4a5e6f6fe481555e 100644
--- a/images/nginx/config/default.conf
+++ b/images/nginx/config/default.conf
@@ -8,14 +8,14 @@ upstream webdav {
 server {
     #listen 8080 ssl;
     listen 8080;
-    
+
     #ssl_certificate        /etc/ssl/certs/ca-certificates.crt;
     #ssl_certificate_key    /etc/ssl/certs/ca-cert-COMODO_Certification_Authority.pem;
     #ssl_session_cache     shared:SSL:20m;
     #ssl_session_timeout   4h;
-    
+
     root /var/run/app/web;
-    
+
     # Disables specifying the port in absolute redirects
     port_in_redirect off;
 
@@ -52,12 +52,15 @@ server {
         fastcgi_param SCRIPT_NAME /_webdav;
         # this is the local path to the script
         fastcgi_param SCRIPT_FILENAME /webdav/server.php;
-        fastcgi_param REQUEST_METHOD "GET";
         fastcgi_param QUERY_STRING $query_string;
+        # Set client_max_body_size. This is need to upload large field through sabredav else webdav throws "413 Request Entity Too Large"
+        # Currently we set max upload size on 100M, values above should use `oc` client? TBD
+        client_max_body_size 100M;
 
         fastcgi_pass webdav;
     }
 
+
     # Very rarely should these ever be accessed outside of your lan
     location ~* \.(txt|log)$ {
         allow 192.168.0.0/16;
@@ -152,8 +155,8 @@ server {
         expires max;
         log_not_found off;
     }
-    
-    
+
+
     location ^~ /simplesaml {
         alias /app/vendor/simplesamlphp/simplesamlphp/www;
 
@@ -166,7 +169,7 @@ server {
             fastcgi_param PATH_INFO $pathinfo if_not_empty;
         }
     }
-    
+
     # We want to make the redirection https://sitename.web.cern.ch/sitename/sites/something to https://sitename.web.cern.ch/sites/default/.
     # This location matches any url containing /sites/sitename/.../file and redirects to /sites/default/.../file.
     # It omits redirection for urls containing /sites/default.