From f300097f0bb1be7bb2c98d2555b74f7515da79c8 Mon Sep 17 00:00:00 2001 From: Leander Schulten Date: Wed, 5 Jun 2024 12:33:18 +0200 Subject: [PATCH] Allow larger requests --- nginx/nginx.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 240d517..1eabcc7 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -6,6 +6,8 @@ server { listen 80; + client_max_body_size 0; # Allow requests of any size + location / { proxy_pass http://hello_django; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;