2023-11-23 08:40:32 +00:00
|
|
|
{ ... }: {
|
|
|
|
imports = [ ./caddy.nix ];
|
2023-10-21 17:55:11 +01:00
|
|
|
services.grafana = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
|
|
|
server = {
|
|
|
|
http_addr = "127.0.0.1";
|
2023-10-27 08:57:48 +01:00
|
|
|
http_port = 3000;
|
2023-10-21 17:55:11 +01:00
|
|
|
domain = "grafana.xenia.me.uk";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2023-11-23 08:40:32 +00:00
|
|
|
services.caddy.virtualHosts."grafana.xenia.me.uk".extraConfig =
|
|
|
|
"reverse_proxy http://localhost:3000";
|
2023-10-21 17:55:11 +01:00
|
|
|
}
|