aboutsummaryrefslogtreecommitdiff
path: root/conf/nginx.conf
diff options
context:
space:
mode:
authornemsia <nemsia@nemsia.org>2017-04-22 14:02:06 +0200
committerGitHub <noreply@github.com>2017-04-22 14:02:06 +0200
commitb33062cdcc2325204bf8fee3148eb09681827d4f (patch)
tree93f0278ed53c75baf575cbffa34eed704c659084 /conf/nginx.conf
parent9c513c9e7af2c9efeefb53f4833c945e25b79f76 (diff)
downloadmastodon_ynh-b33062cdcc2325204bf8fee3148eb09681827d4f.tar.gz
mastodon_ynh-b33062cdcc2325204bf8fee3148eb09681827d4f.tar.bz2
mastodon_ynh-b33062cdcc2325204bf8fee3148eb09681827d4f.zip
[fix] Change max upload sise from 2Mo to 100Mo
Diffstat (limited to 'conf/nginx.conf')
-rw-r--r--conf/nginx.conf5
1 files changed, 4 insertions, 1 deletions
diff --git a/conf/nginx.conf b/conf/nginx.conf
index d8f0904..0d48dc5 100644
--- a/conf/nginx.conf
+++ b/conf/nginx.conf
@@ -1,3 +1,6 @@
+# upload max size
+client_max_body_size 100M;
+
location / {
if ($scheme = http) {
@@ -37,4 +40,4 @@ location /api/v1/streaming {
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
tcp_nodelay on;
-} \ No newline at end of file
+}