From 321251daf47c363caa1169c89b05975ff6aeac96 Mon Sep 17 00:00:00 2001 From: nobswebdev Date: Thu, 12 Nov 2026 00:48:24 +0100 Subject: [PATCH] Raise nginx /api body limit so CMS uploads can exceed the default 1m. --- nginx/snippets/nullcart-locations.conf.template | 1 + 1 file changed, 1 insertion(+) diff --git a/nginx/snippets/nullcart-locations.conf.template b/nginx/snippets/nullcart-locations.conf.template index 908a686..ec015a8 100644 --- a/nginx/snippets/nullcart-locations.conf.template +++ b/nginx/snippets/nullcart-locations.conf.template @@ -20,6 +20,7 @@ location = /api/shop-settings/simplex-connect { } location /api { + client_max_body_size 20m; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;