[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.remotes/1727458204337373841/tmp_refs/heads/signup-info-prompt
parent
007ab330e6
commit
f68fa930ea
|
@ -27,8 +27,8 @@ http {
|
||||||
}
|
}
|
||||||
|
|
||||||
map $http_upgrade $connection_upgrade {
|
map $http_upgrade $connection_upgrade {
|
||||||
default upgrade;
|
default upgrade;
|
||||||
'' close;
|
'' close;
|
||||||
}
|
}
|
||||||
|
|
||||||
# Configuration for Nginx
|
# Configuration for Nginx
|
||||||
|
@ -38,6 +38,8 @@ http {
|
||||||
|
|
||||||
root /app/public;
|
root /app/public;
|
||||||
|
|
||||||
|
client_max_body_size 8M;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
try_files $uri @rails;
|
try_files $uri @rails;
|
||||||
}
|
}
|
||||||
|
|
|
@ -22,8 +22,8 @@ http {
|
||||||
}
|
}
|
||||||
|
|
||||||
map $http_upgrade $connection_upgrade {
|
map $http_upgrade $connection_upgrade {
|
||||||
default upgrade;
|
default upgrade;
|
||||||
'' close;
|
'' close;
|
||||||
}
|
}
|
||||||
|
|
||||||
# Configuration for Nginx
|
# Configuration for Nginx
|
||||||
|
|
|
@ -22,8 +22,8 @@ http {
|
||||||
}
|
}
|
||||||
|
|
||||||
map $http_upgrade $connection_upgrade {
|
map $http_upgrade $connection_upgrade {
|
||||||
default upgrade;
|
default upgrade;
|
||||||
'' close;
|
'' close;
|
||||||
}
|
}
|
||||||
|
|
||||||
# Configuration for Nginx
|
# Configuration for Nginx
|
||||||
|
@ -36,6 +36,8 @@ http {
|
||||||
|
|
||||||
root /app/public;
|
root /app/public;
|
||||||
|
|
||||||
|
client_max_body_size 8M;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
try_files $uri @rails;
|
try_files $uri @rails;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue