diff options
author | Chocobozzz <me@florianbigard.com> | 2018-06-29 15:47:15 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-06-29 17:10:53 +0200 |
commit | 34b19192901b0f872c72ce8d94a69aeba51d1c29 (patch) | |
tree | 1b0a6749eab0ad40ccbb9889ce7d6be9650eaa20 /support | |
parent | e1807a942f08e44775a25c0d0544cc322955466b (diff) | |
download | PeerTube-34b19192901b0f872c72ce8d94a69aeba51d1c29.tar.gz PeerTube-34b19192901b0f872c72ce8d94a69aeba51d1c29.tar.zst PeerTube-34b19192901b0f872c72ce8d94a69aeba51d1c29.zip |
Increase upload limit to 8GB (test)
Diffstat (limited to 'support')
-rw-r--r-- | support/nginx/peertube | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/support/nginx/peertube b/support/nginx/peertube index e94eac5e8..0e77f6ae4 100644 --- a/support/nginx/peertube +++ b/support/nginx/peertube | |||
@@ -41,7 +41,7 @@ server { | |||
41 | add_header X-Content-Type-Options nosniff; | 41 | add_header X-Content-Type-Options nosniff; |
42 | add_header X-XSS-Protection "1; mode=block"; | 42 | add_header X-XSS-Protection "1; mode=block"; |
43 | add_header X-Robots-Tag none; | 43 | add_header X-Robots-Tag none; |
44 | 44 | ||
45 | access_log /var/log/nginx/peertube.example.com.access.log; | 45 | access_log /var/log/nginx/peertube.example.com.access.log; |
46 | error_log /var/log/nginx/peertube.example.com.error.log; | 46 | error_log /var/log/nginx/peertube.example.com.error.log; |
47 | 47 | ||
@@ -68,8 +68,8 @@ server { | |||
68 | proxy_set_header Host $host; | 68 | proxy_set_header Host $host; |
69 | proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | 69 | proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; |
70 | 70 | ||
71 | # Hard limit, PeerTube does not support videos > 4GB | 71 | # Hard limit, PeerTube does not support videos > 8GB |
72 | client_max_body_size 4G; | 72 | client_max_body_size 8G; |
73 | proxy_connect_timeout 600; | 73 | proxy_connect_timeout 600; |
74 | proxy_send_timeout 600; | 74 | proxy_send_timeout 600; |
75 | proxy_read_timeout 600; | 75 | proxy_read_timeout 600; |