From f13a40e4bc4713e6cf8fe192e7b2cb0a99811223 Mon Sep 17 00:00:00 2001 From: poduck Date: Tue, 30 Dec 2025 11:10:46 -0500 Subject: [PATCH] Add /auth/ location to nginx proxy config MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The /auth/ path was not being proxied to Django, causing POST requests to authentication endpoints to return 405 errors. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- frontend/nginx.conf | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/frontend/nginx.conf b/frontend/nginx.conf index 1cf3b20e..82122482 100644 --- a/frontend/nginx.conf +++ b/frontend/nginx.conf @@ -54,6 +54,15 @@ http { proxy_set_header X-Forwarded-Proto $scheme; } + # Proxy Auth requests to Django + location /auth/ { + proxy_pass http://django:5000; + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Forwarded-Proto $scheme; + } + # Proxy Admin requests to Django location /admin/ { proxy_pass http://django:5000;