🔨」 fix: fixed some things.

This commit is contained in:
2025-08-27 17:54:05 +02:00
parent b9e6c36e07
commit da74d4b505
2 changed files with 15 additions and 8 deletions

View File

@ -41,15 +41,14 @@ server {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
location /api/v1/auth/metrics {
return 403;
location /api/v1/auth/login/google/callback {
ModSecurityEnabled off;
proxy_pass http://transcendence-api-auth:3000/;
}
location /api/v1/auth/register/google/callback {
ModSecurityEnabled off;
proxy_pass http://transcendence-api-auth:3000/;
}
}
server {
listen 80;
server_name example.com;
return 301 https://$host$request_uri;
}
server {

View File

@ -38,6 +38,14 @@ server {
location /api/v1/auth/metrics {
return 403;
}
location /api/v1/auth/login/google/callback {
ModSecurityEnabled off;
proxy_pass http://transcendence-api-auth:3000/;
}
location /api/v1/auth/register/google/callback {
ModSecurityEnabled off;
proxy_pass http://transcendence-api-auth:3000/;
}
}
server {