mirror of
https://github.com/KeyZox71/knl_meowscendence.git
synced 2025-08-14 12:32:54 +02:00
「🏗️」 wip: added forbidden on metrics routes
This commit is contained in:
@ -24,6 +24,9 @@ server {
|
|||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
}
|
}
|
||||||
|
location /api/v1/user/metrics {
|
||||||
|
return 403;
|
||||||
|
}
|
||||||
|
|
||||||
location /api/v1/auth/ {
|
location /api/v1/auth/ {
|
||||||
proxy_pass http://transcendence-api-auth:3000/;
|
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-For $proxy_add_x_forwarded_for;
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
}
|
}
|
||||||
|
location /api/v1/auth/metrics {
|
||||||
|
return 403;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
|
Reference in New Issue
Block a user