Increase upload limit to 8GB (test)

This commit is contained in:
Chocobozzz 2018-06-29 15:47:15 +02:00
parent e1807a942f
commit 34b1919290
No known key found for this signature in database
GPG key ID: 583A612D890159BE
2 changed files with 8 additions and 8 deletions

View file

@ -41,7 +41,7 @@ server {
add_header X-Content-Type-Options nosniff;
add_header X-XSS-Protection "1; mode=block";
add_header X-Robots-Tag none;
access_log /var/log/nginx/peertube.example.com.access.log;
error_log /var/log/nginx/peertube.example.com.error.log;
@ -68,8 +68,8 @@ server {
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# Hard limit, PeerTube does not support videos > 4GB
client_max_body_size 4G;
# Hard limit, PeerTube does not support videos > 8GB
client_max_body_size 8G;
proxy_connect_timeout 600;
proxy_send_timeout 600;
proxy_read_timeout 600;