From 5a0d1136130284170ffa8eaf209db2407d15ab27 Mon Sep 17 00:00:00 2001 From: Ole Meyer Date: Tue, 3 Feb 2026 13:10:19 +0100 Subject: [PATCH] Set client_max_body_size to 50M Add client_max_body_size 50M to nginx.conf to allow larger file uploads (e.g., PDF files). --- nginx.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nginx.conf b/nginx.conf index 51da61c..8dc6f2b 100644 --- a/nginx.conf +++ b/nginx.conf @@ -4,6 +4,9 @@ server { root /usr/share/nginx/html; index index.html; + # Allow larger file uploads (e.g., for PDF files) + client_max_body_size 50M; + # Gzip compression gzip on; gzip_vary on;