From 8e59218e9bdcae442f42e558d0d379618ee78aba Mon Sep 17 00:00:00 2001 From: rosbeef andino Date: Sun, 2 Jul 2023 19:12:53 +0000 Subject: [PATCH] Update config --- scripts/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/config b/scripts/config index be7adb3..77e444c 100644 --- a/scripts/config +++ b/scripts/config @@ -19,7 +19,7 @@ get__max_upload_size() { set__max_upload_size() { ynh_write_var_in_file --file=/etc/matrix-$app/homeserver.yaml --key=max_upload_size --value="${max_upload_size}" - sed -i -r "s|client_max_body_size\s[[:digit:]]*[GMK]?;|client_max_body_size ${max_upload_size};|g" "/etc/nginx/conf.d/$domain.d/$app.conf + sed -i -r "s|client_max_body_size\s[[:digit:]]*[GMK]?;|client_max_body_size ${max_upload_size};|g" "/etc/nginx/conf.d/$domain.d/$app.conf" ynh_add_nginx_conf }