From af47d91e7d4ab4b6f560142070e66262cb3790ec Mon Sep 17 00:00:00 2001 From: Christian Winther Date: Thu, 22 Feb 2024 14:56:08 +0000 Subject: [PATCH] give nginx config default max upload size --- .../nginx/root/docker/templates/etc/nginx/conf.d/default.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/nginx/root/docker/templates/etc/nginx/conf.d/default.conf b/docker/nginx/root/docker/templates/etc/nginx/conf.d/default.conf index 671332e78..15bf17beb 100644 --- a/docker/nginx/root/docker/templates/etc/nginx/conf.d/default.conf +++ b/docker/nginx/root/docker/templates/etc/nginx/conf.d/default.conf @@ -14,7 +14,7 @@ server { index index.html index.htm index.php; charset utf-8; - client_max_body_size {{ getenv "POST_MAX_SIZE" }}; + client_max_body_size {{ getenv "POST_MAX_SIZE" "61M" }}; location / { try_files $uri $uri/ /index.php?$query_string;