From aa4baca09135d997a7ca0963f5f8111278671fd9 Mon Sep 17 00:00:00 2001 From: Zac Gaetano Date: Tue, 7 Apr 2026 22:05:41 -0400 Subject: [PATCH] Phase 2: services/web-ui/nginx.conf --- services/web-ui/nginx.conf | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/services/web-ui/nginx.conf b/services/web-ui/nginx.conf index de63a91..25b6bfc 100644 --- a/services/web-ui/nginx.conf +++ b/services/web-ui/nginx.conf @@ -2,6 +2,9 @@ server { listen 80; server_name _; + # Allow unlimited client upload size + client_max_body_size 0; + # Gzip compression gzip on; gzip_types text/plain text/css text/javascript application/javascript application/json; @@ -24,6 +27,7 @@ server { # API proxy - forward to mam-api service location /api/ { + client_max_body_size 0; proxy_pass http://mam-api:3000; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; @@ -34,6 +38,9 @@ server { proxy_set_header X-Forwarded-Proto $scheme; proxy_buffering off; proxy_request_buffering off; + proxy_connect_timeout 300; + proxy_send_timeout 300; + proxy_read_timeout 300; } # Capture proxy - forward to capture service