mirror of
https://github.com/KeyZox71/knl_meowscendence.git
synced 2026-10-16 04:40:08 +02:00
「🏗️」 wip: added forbidden on metrics routes
This commit is contained in:
2 files changed
+6
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user