From 4ab56e6fb382ddf75d778d530afbdc63c65eeda3 Mon Sep 17 00:00:00 2001 From: Simon Gruber Date: Wed, 4 Nov 2026 09:38:56 +0100 Subject: [PATCH] Allow image uploads up to 11 MB through nginx nginx defaults to 1 MB, so pasted screenshots failed with 413 and the order was created without its image. Co-Authored-By: Claude Sonnet 5.5 --- nginx.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nginx.conf b/nginx.conf index 73d8b83..9c08d06 100644 --- a/nginx.conf +++ b/nginx.conf @@ -11,6 +11,8 @@ server { server_name _; location /api/ { + # Image uploads are limited to 10 MB by the frontend; nginx defaults to 1 MB. + client_max_body_size 11m; proxy_pass http://backend/api/; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade;