services specialArg stage 1

This commit is contained in:
kat witch 2021-08-06 23:11:46 +01:00
parent aef9c37ee6
commit 3c9475cdcf
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72
30 changed files with 14 additions and 103 deletions

View file

@ -0,0 +1,18 @@
{ config, ... }:
{
kw.fw.private.tcp.ports = [ 19999 ];
services.netdata = { enable = true; };
services.nginx = {
enable = true;
virtualHosts = {
"${config.networking.hostName}.${config.kw.dns.ygg_prefix}.${config.kw.dns.domain}" = {
useACMEHost = "${config.networking.hostName}.${config.kw.dns.ygg_prefix}.${config.kw.dns.domain}";
forceSSL = true;
locations = { "/netdata" = { proxyPass = "http://[::1]:19999/"; }; };
};
};
};
}