mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-10 04:49:19 -08:00
24 lines
448 B
Nix
24 lines
448 B
Nix
{ config, ... }:
|
|
|
|
{
|
|
katnet.private.tcp.ports = [ 19999 ];
|
|
|
|
services.netdata = {
|
|
enable = true;
|
|
};
|
|
|
|
services.nginx = {#
|
|
enable = true;
|
|
virtualHosts = {
|
|
"${config.networking.hostName}.net.kittywit.ch" = {
|
|
useACMEHost = "${config.networking.hostName}.net.kittywit.ch";
|
|
forceSSL = true;
|
|
locations = {
|
|
"/netdata" = {
|
|
proxyPass = "http://[::1]:19999/";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|