From f161ab4b99bf70b84ff5c9ea17ca5c0eec9dcf9a Mon Sep 17 00:00:00 2001 From: Jennifer Richards Date: Mon, 19 Jan 2026 14:46:17 -0400 Subject: [PATCH 1/2] chore(dev): disable nginx max_body_size --- docker/configs/nginx-proxy.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/docker/configs/nginx-proxy.conf b/docker/configs/nginx-proxy.conf index 3068cc71d73..5a9ae31ad0f 100644 --- a/docker/configs/nginx-proxy.conf +++ b/docker/configs/nginx-proxy.conf @@ -4,6 +4,7 @@ server { proxy_read_timeout 1d; proxy_send_timeout 1d; + client_max_body_size 0; # disable checking root /var/www/html; index index.html index.htm index.nginx-debian.html; From d0db07929a65af3f9484bbc661cafe6caa9e3fed Mon Sep 17 00:00:00 2001 From: Jennifer Richards Date: Mon, 19 Jan 2026 15:26:52 -0400 Subject: [PATCH 2/2] chore(dev): create missing dest dir Create the "prerelease" directory, if needed, when accepting RFC publication files. Gated not to impact production, where this directory should already exist. --- ietf/api/views_rpc.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ietf/api/views_rpc.py b/ietf/api/views_rpc.py index 542836a857a..ea9c6348cad 100644 --- a/ietf/api/views_rpc.py +++ b/ietf/api/views_rpc.py @@ -476,6 +476,12 @@ def post(self, request): doc_rev=rfc.rev, # expect None, but match whatever it is mtime=mtime, ) - shutil.move(ftm, self._fs_destination(ftm)) + destination = self._fs_destination(ftm) + if ( + settings.SERVER_MODE != "production" + and not destination.parent.exists() + ): + destination.parent.mkdir() + shutil.move(ftm, destination) return Response(NotificationAckSerializer().data)