diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-10-17 11:45:53 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-10-17 11:46:07 +0200 |
commit | aa83bcce541a361ca265d5015d769ba442348395 (patch) | |
tree | 7c33aaed6af6504afe893c56915ce4f8ce8766ed /support/nginx | |
parent | d478d83da970365b320b33052de76a86d59caac8 (diff) | |
download | PeerTube-aa83bcce541a361ca265d5015d769ba442348395.tar.gz PeerTube-aa83bcce541a361ca265d5015d769ba442348395.tar.zst PeerTube-aa83bcce541a361ca265d5015d769ba442348395.zip |
Increase client_max_body_size in NGinx template
Diffstat (limited to 'support/nginx')
-rw-r--r-- | support/nginx/peertube | 2 | ||||
-rw-r--r-- | support/nginx/peertube-https | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/support/nginx/peertube b/support/nginx/peertube index a3205656c..f7db3eea3 100644 --- a/support/nginx/peertube +++ b/support/nginx/peertube | |||
@@ -9,7 +9,7 @@ server { | |||
9 | proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | 9 | proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; |
10 | 10 | ||
11 | # For the video upload | 11 | # For the video upload |
12 | client_max_body_size 100m; | 12 | client_max_body_size 2G; |
13 | } | 13 | } |
14 | 14 | ||
15 | # Bypass PeerTube webseed route for better performances | 15 | # Bypass PeerTube webseed route for better performances |
diff --git a/support/nginx/peertube-https b/support/nginx/peertube-https index e0d8c483d..372f829d3 100644 --- a/support/nginx/peertube-https +++ b/support/nginx/peertube-https | |||
@@ -22,7 +22,7 @@ server { | |||
22 | proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | 22 | proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; |
23 | 23 | ||
24 | # For the video upload | 24 | # For the video upload |
25 | client_max_body_size 100m; | 25 | client_max_body_size 2G; |
26 | } | 26 | } |
27 | 27 | ||
28 | # Bypass PeerTube webseed route for better performances | 28 | # Bypass PeerTube webseed route for better performances |