From 1fe93a1e0930e70d8d98828a912cf1bd75a2b084 Mon Sep 17 00:00:00 2001 From: octospacc Date: Thu, 12 Sep 2024 01:54:20 +0200 Subject: [PATCH] Auto-Backup $'Thu Sep 12 2024 01:34:19 GMT+0200 (Central European Summer Time)' --- Server/Root/Main/Server/Scripts/BackupAll.zx.mjs | 1 + Server/Root/etc/nginx/nginx.conf | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Server/Root/Main/Server/Scripts/BackupAll.zx.mjs b/Server/Root/Main/Server/Scripts/BackupAll.zx.mjs index d357590..49757a1 100755 --- a/Server/Root/Main/Server/Scripts/BackupAll.zx.mjs +++ b/Server/Root/Main/Server/Scripts/BackupAll.zx.mjs @@ -197,6 +197,7 @@ Jobs.Cloud_liminalgici = async () => { for (let File of ['Db.sql.tar.xz', './pixelfed_liminalgici/.env', './pixelfed_liminalgici/config.tar.xz']) { await ccencryptNow(`./${File}`, Secrets.BackupKey_Git_liminalgici); }; + await $`rm ./pixelfed_liminalgici/storage/app/public/m/.gitignore || true`; await GitPullPush(); }; diff --git a/Server/Root/etc/nginx/nginx.conf b/Server/Root/etc/nginx/nginx.conf index 680fe1c..9b2a0e1 100644 --- a/Server/Root/etc/nginx/nginx.conf +++ b/Server/Root/etc/nginx/nginx.conf @@ -64,7 +64,7 @@ http { include /etc/nginx/conf.d/*.conf; include /etc/nginx/sites-enabled/*; - client_max_body_size 8M; + client_max_body_size 10M; more_clear_headers "Server"; more_clear_headers "server";