web02: monitoring

This commit is contained in:
zowoq 2023-07-29 15:54:41 +10:00
parent 9d8bffd0fd
commit 94de0ff94b
2 changed files with 9 additions and 0 deletions

View file

@ -3,6 +3,8 @@
imports = [
./gandi.nix
inputs.self.nixosModules.common
inputs.self.nixosModules.monitoring
inputs.srvos.nixosModules.mixins-nginx
];
networking.hostName = "web02";

View file

@ -162,6 +162,13 @@ resource "cloudflare_record" "nix-community-org-nur-update-CNAME" {
type = "CNAME"
}
resource "cloudflare_record" "nix-community-org-prometheus-CNAME" {
zone_id = local.nix_community_zone_id
name = "prometheus"
value = "web02.nix-community.org"
type = "CNAME"
}
resource "cloudflare_record" "nix-community-org-apex-A" {
zone_id = local.nix_community_zone_id
name = "@"