1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-03 01:39:37 +02:00

Fix nginx max body size

We increased max image upload size in a4f836c042
This commit is contained in:
Chocobozzz 2025-04-11 08:22:58 +02:00
parent 1797f7e548
commit a2812e40d9
No known key found for this signature in database
GPG key ID: 583A612D890159BE

View file

@ -111,8 +111,8 @@ server {
}
location ~ ^/api/v1/(videos|video-playlists|video-channels|users/me) {
client_max_body_size 6M; # 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)
client_max_body_size 12M; # default is 1M
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;
}