From 25bf6757ac68e007a0a92f027866dd652d72c4e7 Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Wed, 1 Apr 2020 00:35:45 +0200 Subject: [PATCH] Increase upload limit in nginx config --- templates/docker-compose.yml | 2 +- templates/nginx.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/docker-compose.yml b/templates/docker-compose.yml index abdad7c..d03d47e 100644 --- a/templates/docker-compose.yml +++ b/templates/docker-compose.yml @@ -17,7 +17,7 @@ services: restart: "always" peertube: - image: chocobozzz/peertube:v2.1.0-buster + image: chocobozzz/peertube:v2.1.1-buster env_file: - .env volumes: diff --git a/templates/nginx.conf b/templates/nginx.conf index a371351..a788284 100644 --- a/templates/nginx.conf +++ b/templates/nginx.conf @@ -76,7 +76,7 @@ ssl_ciphers 'ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECD proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - client_max_body_size 600M; + client_max_body_size 2G; proxy_connect_timeout 600; proxy_send_timeout 600; proxy_read_timeout 600;