ソースを参照

Add symbols for mime_types to the default config

tags/1.1.2
Vsevolod Stakhov 8年前
コミット
846687c186
2個のファイルの変更26行の追加0行の削除
  1. 22
    0
      conf/metrics.conf
  2. 4
    0
      conf/modules.d/mime_types.conf

+ 22
- 0
conf/metrics.conf ファイルの表示

@@ -1201,4 +1201,26 @@ metric {
description = "DMARC failed";
}
}
group {
name = "mime_types";

symbol {
weight = -0.1;
name = "MIME_GOOD";
description = "Known content-type";
one_shot = true;
}
symbol {
weight = 1.0;
name = "MIME_BAD";
description = "Known bad content-type";
one_shot = true;
}
symbol {
weight = 0.1;
name = "MIME_UNKNOWN";
description = "Missing or unknown content-type";
one_shot = true;
}
}
}

+ 4
- 0
conf/modules.d/mime_types.conf ファイルの表示

@@ -0,0 +1,4 @@
mime_types {
.include(try=true,priority=1) "${DBDIR}/dynamic/mime_types.conf"
file = "${ETCDIR}/mime_types.inc";
}

読み込み中…
キャンセル
保存