Skip to content
Snippets Groups Projects
Commit f68fa930 authored by Daniel Hunsaker's avatar Daniel Hunsaker Committed by Eugen Rochko
Browse files

[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.
parent 007ab330
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
......@@ -22,8 +22,8 @@ http {
}
map $http_upgrade $connection_upgrade {
default upgrade;
'' close;
default upgrade;
'' close;
}
# Configuration for Nginx
......
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment