From dce9e1fc710f74a1ffe19941c91eaf16ccd05343 Mon Sep 17 00:00:00 2001 From: mpeltriaux Date: Fri, 24 Jan 2025 16:21:55 +0100 Subject: [PATCH] # Enhancements * increases nginx max POST body size to 25MB (document upload) * limits package requests on version 2.32 due to dependency of kombu to this version --- nginx.conf | 1 + requirements.txt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/nginx.conf b/nginx.conf index 373393a2..660dacb8 100644 --- a/nginx.conf +++ b/nginx.conf @@ -5,6 +5,7 @@ upstream konova { server { listen 80; + client_max_body_size 25M; location / { proxy_pass http://konova; diff --git a/requirements.txt b/requirements.txt index 2f00fdd2..1ca725f8 100644 --- a/requirements.txt +++ b/requirements.txt @@ -48,7 +48,7 @@ pytz==2024.2 PyYAML==6.0.2 qrcode==7.3.1 redis==5.1.0b6 -requests==2.32.3 +requests<2.32.0 six==1.16.0 soupsieve==2.5 sqlparse==0.5.1