summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/deployment/board.euer.krebsco.de.nix
blob: ca617976dddf896b7f8b1c1f39f801f2e76fae59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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}";
  };
}