Home

infra @753a787c2b0026e34e4c25fb6b5d93e1368ee226 - refs - log -
-
https://git.jolheiser.com/infra.git
dragonwell flake
infra / dragonwell / foundry.nix
- raw -
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
{ inputs, pkgs, ... }:
{
  services = {
    foundryvtt = {
      enable = true;
      hostName = "dnd.jolheiser.com";
      minifyStaticFiles = true;
      proxyPort = 443;
      proxySSL = true;
      upnp = false;
      package = inputs.foundry.packages.${pkgs.stdenv.hostPlatform.system}.foundryvtt_14;
    };
    caddy.virtualHosts."dnd.jolheiser.com".extraConfig = ''
      reverse_proxy localhost:30000
    '';
  };
}