Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Increase client_max_body_size in NGinx template

Chocobozzzaa83bcce541a
diff --git a/support/nginx/peertube b/support/nginx/peertube
index a3205656cf..f7db3eea31 100644
--- a/support/nginx/peertube
+++ b/support/nginx/peertube
@@ -9,7 +9,7 @@ server {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# For the video upload
- client_max_body_size 100m;
+ client_max_body_size 2G;
}
# Bypass PeerTube webseed route for better performances
diff --git a/support/nginx/peertube-https b/support/nginx/peertube-https
index e0d8c483d0..372f829d37 100644
--- a/support/nginx/peertube-https
+++ b/support/nginx/peertube-https
@@ -22,7 +22,7 @@ server {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# For the video upload
- client_max_body_size 100m;
+ client_max_body_size 2G;
}
# Bypass PeerTube webseed route for better performances