]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - support/nginx/peertube
Display error message in signup page (#128)
[github/Chocobozzz/PeerTube.git] / support / nginx / peertube
index 0f7fcb494af27083605f0523399b35bb94569735..8120738f6be2edc905bcd8450f5f3c289a1cac1f 100644 (file)
@@ -9,7 +9,10 @@ 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;
+    proxy_connect_timeout       600;
+    proxy_send_timeout          600;
+    proxy_read_timeout          600;
   }
 
   # Bypass PeerTube webseed route for better performances
@@ -30,7 +33,7 @@ server {
       add_header 'Access-Control-Allow-Headers' 'Range,DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type';
     }
 
-    alias /your/installation/PeerTube/uploads;
+    alias /your/installation/PeerTube/videos;
   }
 
   # Websocket tracker