]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Increase client_max_body_size in NGinx template
authorChocobozzz <florian.bigard@gmail.com>
Tue, 17 Oct 2017 09:45:53 +0000 (11:45 +0200)
committerChocobozzz <florian.bigard@gmail.com>
Tue, 17 Oct 2017 09:46:07 +0000 (11:46 +0200)
support/nginx/peertube
support/nginx/peertube-https

index a3205656cf4d1f6cbf08f5a368f980af9d1f711b..f7db3eea31f4624f72f65a118efc1748ef0ef1a4 100644 (file)
@@ -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
index e0d8c483d04ce882993e1596b69e57fb53fe7489..372f829d378dc5c8cea585c8a4a13125b1b747d7 100644 (file)
@@ -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