all: remove promtail virtual hosts

This commit is contained in:
Adithya 2024-08-11 20:05:48 +05:30
parent ec88b839f1
commit 8969d408c6
Signed by: adtya
GPG key ID: B8857BFBA2C47B9C
2 changed files with 0 additions and 13 deletions

View file

@ -63,11 +63,6 @@ _: {
"grafana.labs.adtya.xyz" = "10.10.10.10,fd7c:585c:c4ae::10"; "grafana.labs.adtya.xyz" = "10.10.10.10,fd7c:585c:c4ae::10";
"loki.labs.adtya.xyz" = "10.10.10.10,fd7c:585c:c4ae::10"; "loki.labs.adtya.xyz" = "10.10.10.10,fd7c:585c:c4ae::10";
"prometheus.labs.adtya.xyz" = "10.10.10.10,fd7c:585c:c4ae::10"; "prometheus.labs.adtya.xyz" = "10.10.10.10,fd7c:585c:c4ae::10";
"promtail.rico0.labs.adtya.xyz" = "10.10.10.10,fd7c:585c:c4ae::10";
"promtail.rico1.labs.adtya.xyz" = "10.10.10.11,fd7c:585c:c4ae::11";
"promtail.rico2.labs.adtya.xyz" = "10.10.10.12,fd7c:585c:c4ae::12";
"promtail.wynne.labs.adtya.xyz" = "10.10.10.13,fd7c:585c:c4ae::13";
"promtail.layne.labs.adtya.xyz" = "10.10.10.14,fd7c:585c:c4ae::14";
"transmission.labs.adtya.xyz" = "10.10.10.14,fd7c:585c:c4ae::14"; "transmission.labs.adtya.xyz" = "10.10.10.14,fd7c:585c:c4ae::14";
}; };
}; };

View file

@ -1,13 +1,5 @@
{ config, ... }: { { config, ... }: {
services = { services = {
caddy = {
virtualHosts."promtail.${config.networking.hostName}.labs.adtya.xyz" = {
extraConfig = ''
reverse_proxy 127.0.0.1:9080
tls /persist/secrets/caddy/certs/default.crt /persist/secrets/caddy/certs/default.key
'';
};
};
promtail = { promtail = {
enable = true; enable = true;
configuration = { configuration = {