diff options
| author | nemsia <nemsia@nemsia.org> | 2017-04-22 14:02:06 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-04-22 14:02:06 +0200 |
| commit | b33062cdcc2325204bf8fee3148eb09681827d4f (patch) | |
| tree | 93f0278ed53c75baf575cbffa34eed704c659084 | |
| parent | 9c513c9e7af2c9efeefb53f4833c945e25b79f76 (diff) | |
| download | mastodon_ynh-b33062cdcc2325204bf8fee3148eb09681827d4f.tar.gz mastodon_ynh-b33062cdcc2325204bf8fee3148eb09681827d4f.tar.bz2 mastodon_ynh-b33062cdcc2325204bf8fee3148eb09681827d4f.zip | |
[fix] Change max upload sise from 2Mo to 100Mo
| -rw-r--r-- | conf/nginx.conf | 5 |
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 +} |
