refactor: update monitoring target labels and jellyfin caddy config

This commit is contained in:
2026-02-02 02:34:28 +05:30
parent 5cecce74e8
commit 23b5917620
2 changed files with 4 additions and 12 deletions

View File

@@ -244,9 +244,9 @@ in {
static_configs = [ static_configs = [
{ {
targets = [ targets = [
"tsuba:9100" "tsuba:9100" # node
"tsuba:9558" "tsuba:9558" # systemd
"tsuba:9256" "tsuba:9256" # process
]; ];
labels = { labels = {
instance = "tsuba"; instance = "tsuba";

View File

@@ -27,20 +27,12 @@
users.groups.jellyfin = {}; users.groups.jellyfin = {};
services = { services = {
# jellyseerr = {
# enable = true;
# package = unstablePkgs.jellyseerr;
# };
caddy = { caddy = {
# virtualHosts."jellyseerr.tsuba.darksailor.dev".extraConfig = ''
# import cloudflare
# reverse_proxy localhost:${builtins.toString config.services.jellyseerr.port}
# '';
virtualHosts."jellyfin.tsuba.darksailor.dev".extraConfig = '' virtualHosts."jellyfin.tsuba.darksailor.dev".extraConfig = ''
import cloudflare import cloudflare
reverse_proxy localhost:8096 reverse_proxy localhost:8096
''; '';
virtualHosts."media.darksailor.dev".extraConfig = '' virtualHosts."jellyfin.darksailor.dev".extraConfig = ''
import cloudflare import cloudflare
reverse_proxy localhost:8096 reverse_proxy localhost:8096
''; '';