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