🔨」 fix: fixed alert

This commit is contained in:
2025-10-24 17:35:53 +02:00
parent a073b61d65
commit e9371b70f4
3 changed files with 3 additions and 18 deletions

View File

@ -38,9 +38,6 @@ server {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
location /api/v1/user/metrics {
return 403;
}
location /api/v1/auth/ {
modsecurity off;

View File

@ -32,10 +32,6 @@ server {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
location /api/v1/user/metrics {
return 403;
}
location /api/v1/auth/ {
modsecurity off;
proxy_pass http://transcendence-api-auth:3000/;
@ -44,17 +40,6 @@ 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 {
modsecurity off;
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/register/google/callback;
}
}
server {