mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-03 09:49:20 +02:00
Fix nginx max body size
We increased max image upload size in a4f836c042
This commit is contained in:
parent
1797f7e548
commit
a2812e40d9
1 changed files with 2 additions and 2 deletions
|
@ -111,8 +111,8 @@ server {
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ ^/api/v1/(videos|video-playlists|video-channels|users/me) {
|
location ~ ^/api/v1/(videos|video-playlists|video-channels|users/me) {
|
||||||
client_max_body_size 6M; # default is 1M
|
client_max_body_size 12M; # default is 1M
|
||||||
add_header X-File-Maximum-Size 4M always; # inform backend of the set value in bytes before mime-encoding (x * 1.4 >= client_max_body_size)
|
add_header X-File-Maximum-Size 8M always; # inform backend of the set value in bytes before mime-encoding (x * 1.4 >= client_max_body_size)
|
||||||
|
|
||||||
try_files /dev/null @api;
|
try_files /dev/null @api;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue