diff --git a/install.sh b/install.sh index 3f3f008..e1343fa 100644 --- a/install.sh +++ b/install.sh @@ -123,6 +123,10 @@ map $http_upgrade $connection_upgrade { '' close; } +# Uploads: the media library takes pictures up to 20 MB and videos up to 200 MB +# (local_backend/services/media.py checks the real limits; nginx's default is 1 MB). +client_max_body_size 250m; + # ── Plain HTTP ──────────────────────────────────────────────────────────────── server { diff --git a/manager_dashboard/nginx.conf b/manager_dashboard/nginx.conf index 8da63b7..38e4e85 100644 --- a/manager_dashboard/nginx.conf +++ b/manager_dashboard/nginx.conf @@ -1,3 +1,7 @@ +# Uploads: the media library takes pictures up to 20 MB and videos up to 200 MB +# (local_backend/services/media.py checks the real limits; nginx's default is 1 MB). +client_max_body_size 250m; + server { listen 80; diff --git a/nginx-proxy/nginx.conf b/nginx-proxy/nginx.conf index 94f267d..3475882 100644 --- a/nginx-proxy/nginx.conf +++ b/nginx-proxy/nginx.conf @@ -20,6 +20,10 @@ map $http_upgrade $connection_upgrade { '' close; } +# Uploads: the media library takes pictures up to 20 MB and videos up to 200 MB +# (local_backend/services/media.py checks the real limits; nginx's default is 1 MB). +client_max_body_size 250m; + # ── Plain HTTP ──────────────────────────────────────────────────────────────── server { diff --git a/terminal/nginx.conf b/terminal/nginx.conf index 508bd00..7229efe 100644 --- a/terminal/nginx.conf +++ b/terminal/nginx.conf @@ -1,5 +1,9 @@ # Terminal image (plan step 3.1b): the static app + /api and /static forwarded to the backend. # Reached through the proxy on :8082 (LAN only). Same as the manager's image. +# Uploads: the media library takes pictures up to 20 MB and videos up to 200 MB +# (local_backend/services/media.py checks the real limits; nginx's default is 1 MB). +client_max_body_size 250m; + server { listen 80; diff --git a/waiter_pwa/nginx.conf b/waiter_pwa/nginx.conf index 53c0dbf..bb42570 100644 --- a/waiter_pwa/nginx.conf +++ b/waiter_pwa/nginx.conf @@ -1,3 +1,7 @@ +# Uploads: the media library takes pictures up to 20 MB and videos up to 200 MB +# (local_backend/services/media.py checks the real limits; nginx's default is 1 MB). +client_max_body_size 250m; + server { listen 80;