[nanobox] Allow Full-size Uploads (#4123)

The Nginx configurations used by Nanobox previously neglected to increase the default upload size limit. This PR bumps that value up to the current Mastodon limit of 8MiB.
pull/64/head
Daniel Hunsaker 2017-07-08 18:52:36 -06:00 committed by Eugen Rochko
parent 007ab330e6
commit f68fa930ea
3 changed files with 10 additions and 6 deletions

View File

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

View File

@ -22,8 +22,8 @@ http {
}
map $http_upgrade $connection_upgrade {
default upgrade;
'' close;
default upgrade;
'' close;
}
# Configuration for Nginx

View File

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