diff --git a/nginx/custom-nginx.conf b/nginx/custom-nginx.conf index d143018cf..202e30e79 100644 --- a/nginx/custom-nginx.conf +++ b/nginx/custom-nginx.conf @@ -19,7 +19,7 @@ server { # Proxy other /server/* requests to the Django app that runs on http://localhost:8000 location /server/ { - proxy_pass http://localhost:8000; + proxy_pass http://server:8000; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;