From 27f566f02d245715b1ce37bf8d29226980edf41a Mon Sep 17 00:00:00 2001 From: Colin Wilson Date: Wed, 26 Apr 2017 17:55:13 +0100 Subject: [PATCH] Amend nginx default.conf (resolve 413 errors) --- default.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/default.conf b/default.conf index e1a44a4..6ea4781 100644 --- a/default.conf +++ b/default.conf @@ -11,6 +11,9 @@ server { # Disable sendfile as per https://docs.vagrantup.com/v2/synced-folders/virtualbox.html sendfile off; + # Set client body size to 100M + client_max_body_size 100m; + # Security - Hide nginx version number in error pages and Server header server_tokens off;