diff --git a/backend/nginx.conf b/backend/nginx.conf index a58fce5..b0edbe0 100644 --- a/backend/nginx.conf +++ b/backend/nginx.conf @@ -10,8 +10,6 @@ http { sendfile on; keepalive_timeout 65; - client_max_body_size 100M; - upstream django { server server:8000; # Use the internal Docker networking } @@ -19,6 +17,7 @@ http { server { listen 80; # NGINX always listens on port 80 inside the container server_name localhost; + client_max_body_size 100M; location / { proxy_pass http://server:8000; # Explicitly forward to Django service