🏗️」 wip: added forbidden on metrics routes

This commit is contained in:
2025-07-22 18:09:23 +02:00
parent f6dd85b733
commit 5249be7a36
2 changed files with 6 additions and 0 deletions

View File

@ -24,6 +24,9 @@ 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/ {
proxy_pass http://transcendence-api-auth:3000/;
@ -32,6 +35,9 @@ 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;
}
}
server {