From 7361958fe22092ab8b8c8d7224020231f0af144d Mon Sep 17 00:00:00 2001 From: gilles Date: Sun, 22 Feb 2026 13:07:57 +0100 Subject: [PATCH] fix(nginx): client_max_body_size 20M pour les photos iPhone + proxy_read_timeout --- frontend/nginx.conf | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/frontend/nginx.conf b/frontend/nginx.conf index 3a231ff..42e79b9 100644 --- a/frontend/nginx.conf +++ b/frontend/nginx.conf @@ -1,15 +1,18 @@ server { - listen 80; + listen 8061; root /usr/share/nginx/html; index index.html; + client_max_body_size 20M; + location /api/ { - proxy_pass http://backend:8000; + proxy_pass http://backend:8060; proxy_set_header Host $host; + proxy_read_timeout 60s; } location /uploads/ { - proxy_pass http://backend:8000; + proxy_pass http://backend:8060; } location / {