diff options
Diffstat (limited to 'support/nginx/peertube')
-rw-r--r-- | support/nginx/peertube | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/support/nginx/peertube b/support/nginx/peertube index 7c95c130c..827a57e93 100644 --- a/support/nginx/peertube +++ b/support/nginx/peertube | |||
@@ -99,8 +99,8 @@ server { | |||
99 | } | 99 | } |
100 | 100 | ||
101 | location ~ ^/api/v1/(videos|video-playlists|video-channels|users/me) { | 101 | location ~ ^/api/v1/(videos|video-playlists|video-channels|users/me) { |
102 | client_max_body_size 3M; # default is 1M | 102 | client_max_body_size 6M; # default is 1M |
103 | add_header X-File-Maximum-Size 2M always; # inform backend of the set value in bytes before mime-encoding (x * 1.4 >= client_max_body_size) | 103 | 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) |
104 | 104 | ||
105 | try_files /dev/null @api; | 105 | try_files /dev/null @api; |
106 | } | 106 | } |