nixos-config/2configs/deployment/board.euer.krebsco.de.nix
2020-03-13 10:42:39 +01:00

16 lines
309 B
Nix

let
fqdn = "board.euer.krebsco.de";
port = 13113;
in {
services.restya-board = {
enable = true;
virtualHost.listenPort = port;
};
services.nginx.virtualHosts."${fqdn}" = {
enableACME = true;
forceSSL = true;
locations."/".proxyPass = "http://localhost:${toString port}";
};
}