mirror of
https://github.com/KeyZox71/knl_meowscendence.git
synced 2025-12-31 21:56:41 +01:00
「🔨」 fix: fixed alert
This commit is contained in:
@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user