From b38b5a63783333357de69edd10120c7b8759e041 Mon Sep 17 00:00:00 2001 From: adjoly Date: Wed, 27 Aug 2025 18:11:23 +0200 Subject: [PATCH] =?UTF-8?q?=E3=80=8C=F0=9F=94=A8=E3=80=8D=20fix:=20fixed?= =?UTF-8?q?=20some=20things.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker/proxy/config/default.conf.template | 4 ++-- docker/proxy/config/default.prod.conf.template | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docker/proxy/config/default.conf.template b/docker/proxy/config/default.conf.template index a838bc8..0f65e5e 100644 --- a/docker/proxy/config/default.conf.template +++ b/docker/proxy/config/default.conf.template @@ -43,11 +43,11 @@ server { } location /api/v1/auth/login/google/callback { modsecurity off; - proxy_pass http://transcendence-api-auth:3000/; + proxy_pass http://transcendence-api-auth:3000/login/google/callback; } location /api/v1/auth/register/google/callback { modsecurity off; - proxy_pass http://transcendence-api-auth:3000/; + proxy_pass http://transcendence-api-auth:3000/register/google/callback; } } diff --git a/docker/proxy/config/default.prod.conf.template b/docker/proxy/config/default.prod.conf.template index f75319d..f64cd1a 100644 --- a/docker/proxy/config/default.prod.conf.template +++ b/docker/proxy/config/default.prod.conf.template @@ -40,11 +40,11 @@ server { } location /api/v1/auth/login/google/callback { modsecurity off; - proxy_pass http://transcendence-api-auth:3000/; + proxy_pass http://transcendence-api-auth:3000/login/google/callback; } location /api/v1/auth/register/google/callback { modsecurity off; - proxy_pass http://transcendence-api-auth:3000/; + proxy_pass http://transcendence-api-auth:3000/register/google/callback; } }