「🔨」 fix: fixed alert

This commit is contained in:
KeyZox committed 2025-10-25 10:33:57 +02:00
1 parent a073b61d65
commit e9371b70f4
3 files changed
+3 -18

No files matched your search

@@ -23,3 +23,6 @@ scrape_configs:
- job_name: 'node-exporter'
static_configs:
- targets: ['node-exporter:9100']
rule_files:
- /etc/prometheus/rules.yml
@@ -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;
@@ -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 {