mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-08-08 14:45:17 +02:00
Max size increase needs to go inside server block
This commit is contained in:
parent
0a2b172405
commit
1b010cc390
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue