mirror of
https://github.com/YunoHost-Apps/mastodon_ynh.git
synced 2024-09-03 19:46:02 +02:00
Merge pull request #11 from nemsia/patch-1
[fix] Change max upload size from 2Mo to 100Mo
This commit is contained in:
commit
d69aa88842
1 changed files with 4 additions and 1 deletions
|
@ -1,3 +1,6 @@
|
||||||
|
# upload max size
|
||||||
|
client_max_body_size 100M;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
|
|
||||||
if ($scheme = http) {
|
if ($scheme = http) {
|
||||||
|
@ -37,4 +40,4 @@ location /api/v1/streaming {
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
tcp_nodelay on;
|
tcp_nodelay on;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue