about summary refs log tree commit diff
path: root/nanobox/nginx-local.conf
diff options
context:
space:
mode:
Diffstat (limited to 'nanobox/nginx-local.conf')
-rw-r--r--nanobox/nginx-local.conf6
1 files changed, 4 insertions, 2 deletions
diff --git a/nanobox/nginx-local.conf b/nanobox/nginx-local.conf
index 023328733..f56339cac 100644
--- a/nanobox/nginx-local.conf
+++ b/nanobox/nginx-local.conf
@@ -27,8 +27,8 @@ http {
     }
 
     map $http_upgrade $connection_upgrade {
-      default upgrade;
-      ''      close;
+        default upgrade;
+        ''      close;
     }
 
     # Configuration for Nginx
@@ -38,6 +38,8 @@ http {
 
         root /app/public;
 
+        client_max_body_size 8M;
+
         location / {
             try_files $uri @rails;
         }