box: only expose graph on local net
This commit is contained in:
parent
28535545da
commit
a272eeab0b
@ -70,6 +70,8 @@ in {
|
||||
sops.secrets.reddit_key = mkNginxSecret;
|
||||
sops.secrets.sonarr_cert = mkNginxSecret;
|
||||
sops.secrets.sonarr_key = mkNginxSecret;
|
||||
sops.secrets.graph_cert = mkNginxSecret;
|
||||
sops.secrets.graph_key = mkNginxSecret;
|
||||
|
||||
boot.supportedFilesystems = [ "zfs" ];
|
||||
boot.loader.grub.copyKernels = true;
|
||||
@ -696,9 +698,10 @@ in {
|
||||
};
|
||||
};
|
||||
|
||||
${config.services.grafana.settings.server.domain} = {
|
||||
"graph.bold.daemon" = {
|
||||
sslCertificateKey = "${config.sops.secrets.graph_key.path}";
|
||||
sslCertificate = "${config.sops.secrets.graph_cert.path}";
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
|
||||
locations."/" = {
|
||||
proxyPass = "http://127.0.0.1:${
|
||||
|
@ -80,7 +80,6 @@ in {
|
||||
virtualisation.libvirtd.enable = true;
|
||||
programs.dconf.enable = true;
|
||||
|
||||
networking.hosts."100.120.151.126" = [ "graph.tapenet.org" ];
|
||||
networking = {
|
||||
hostName = "europa";
|
||||
hostId = "87703c3e";
|
||||
|
@ -114,6 +114,7 @@ in {
|
||||
''"radarr.bold.daemon. IN A 100.120.151.126"''
|
||||
''"reddit.bold.daemon. IN A 100.120.151.126"''
|
||||
''"sonarr.bold.daemon. IN A 100.120.151.126"''
|
||||
''"graph.bold.daemon. IN A 100.120.151.126"''
|
||||
];
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user