tangled
alpha
login
or
join now
wiro.world
/
dotfiles
2
fork
atom
yep, more dotfiles
2
fork
atom
overview
issues
1
pulls
1
pipelines
weird-row-server: reexpose grafana
wiro.world
3 months ago
ab5c4a42
6114d679
verified
This commit was signed with the committer's
known signature
.
wiro.world
SSH Key Fingerprint:
SHA256:SmMcWpNAnL+VAgItSawvXgdPVn7f1rsyAuB/5VNclKY=
+7
-5
3 changed files
expand all
collapse all
unified
split
hosts
weird-row-server
authelia.nix
grafana.nix
pds.nix
+1
-1
hosts/weird-row-server/authelia.nix
···
8
8
9
9
authelia-metrics-port = 9004;
10
10
headscale-hostname = "headscale.wiro.world";
11
11
-
grafana-hostname = "console.net.wiro.world";
11
11
+
grafana-hostname = "console.wiro.world";
12
12
miniflux-hostname = "news.wiro.world";
13
13
in
14
14
{
+5
-3
hosts/weird-row-server/grafana.nix
···
4
4
5
5
let
6
6
grafana-port = 3002;
7
7
-
grafana-hostname = "console.net.wiro.world";
7
7
+
# grafana-hostname = "console.net.wiro.world";
8
8
+
grafana-hostname = "console.wiro.world";
8
9
9
10
prometheus-port = 9001;
10
11
prometheus-node-exporter-port = 9002;
···
76
77
globalConfig = ''
77
78
metrics { per_host }
78
79
'';
79
79
-
virtualHosts."http://${grafana-hostname}".extraConfig = ''
80
80
-
bind tailscale/console
80
80
+
# virtualHosts."http://${grafana-hostname}".extraConfig = ''
81
81
+
# bind tailscale/console
82
82
+
virtualHosts.${grafana-hostname}.extraConfig = ''
81
83
reverse_proxy http://localhost:${toString grafana-port}
82
84
'';
83
85
};
+1
-1
hosts/weird-row-server/pds.nix
···
35
35
serverAliases = [ "*.${pds-hostname}" ];
36
36
extraConfig = ''
37
37
tls { on_demand }
38
38
-
reverse_proxy http://localhost:${toString config.services.bluesky-pds.settings.PDS_HOSTNAME}
38
38
+
reverse_proxy http://localhost:${toString config.services.bluesky-pds.settings.PDS_PORT}
39
39
'';
40
40
};
41
41
};