mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-08-09 07:05:18 +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;
|
sendfile on;
|
||||||
keepalive_timeout 65;
|
keepalive_timeout 65;
|
||||||
|
|
||||||
client_max_body_size 100M;
|
|
||||||
|
|
||||||
upstream django {
|
upstream django {
|
||||||
server server:8000; # Use the internal Docker networking
|
server server:8000; # Use the internal Docker networking
|
||||||
}
|
}
|
||||||
|
@ -19,6 +17,7 @@ http {
|
||||||
server {
|
server {
|
||||||
listen 80; # NGINX always listens on port 80 inside the container
|
listen 80; # NGINX always listens on port 80 inside the container
|
||||||
server_name localhost;
|
server_name localhost;
|
||||||
|
client_max_body_size 100M;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://server:8000; # Explicitly forward to Django service
|
proxy_pass http://server:8000; # Explicitly forward to Django service
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue