From 19335d44f1eb757503b5b614ea3866960b21cae6 Mon Sep 17 00:00:00 2001 From: lapineige Date: Mon, 5 Feb 2024 16:58:45 +0100 Subject: [PATCH 1/4] increase upload size (no limit) --- conf/nginx.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/conf/nginx.conf b/conf/nginx.conf index 270f18a..9da03fd 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -4,4 +4,6 @@ location __PATH__/ { proxy_pass http://127.0.0.1:__PORT_API__; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $host; + + client_max_body_size 0M; #Unrestricted uploads size } From 3f4350b726bb5579ff168329e85c5e66d4362d09 Mon Sep 17 00:00:00 2001 From: lapineige Date: Mon, 5 Feb 2024 16:58:58 +0100 Subject: [PATCH 2/4] Update manifest.toml --- manifest.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index 5a23f7a..d46a692 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "Garage" description.en = "S3 storage" description.fr = "stockage S3" -version = "0.9.1~ynh1" +version = "0.9.1~ynh2" maintainers = ["oiseauroch"] From f8d343651dc70e27465e7eb0bb7fef8a562782bf Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Mon, 5 Feb 2024 15:59:03 +0000 Subject: [PATCH 3/4] Auto-update README --- README.md | 2 +- README_fr.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d2ed5c4..a8ee228 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ Garage is designed for storage clusters composed of nodes running at different p - K2V API (experimental) -**Shipped version:** 0.9.1~ynh1 +**Shipped version:** 0.9.1~ynh2 ## Documentation and resources * Official app website: diff --git a/README_fr.md b/README_fr.md index c8179b8..6142e2b 100644 --- a/README_fr.md +++ b/README_fr.md @@ -35,7 +35,7 @@ Garage is designed for storage clusters composed of nodes running at different p - K2V API (experimental) -**Version incluse :** 0.9.1~ynh1 +**Version incluse :** 0.9.1~ynh2 ## Documentations et ressources * Site officiel de l’app : From 6a48f26b80344c1f64ba872a1c42cb491f8bb773 Mon Sep 17 00:00:00 2001 From: lapineige Date: Mon, 5 Feb 2024 17:02:55 +0100 Subject: [PATCH 4/4] Limit to 1GB --- conf/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 9da03fd..3424ae0 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -5,5 +5,5 @@ location __PATH__/ { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $host; - client_max_body_size 0M; #Unrestricted uploads size + client_max_body_size 1000M; }