nix-config/hosts/Anton/caddy.nix

18 lines
403 B
Nix

{ pkgs, ... }:
{
services.caddy = {
enable = true;
virtualHosts = {
"https://git.huwe.mooo.com" = {
extraConfig = "reverse_proxy localhost:3000";
};
"https://files.huwe.mooo.com" = {
extraConfig = "reverse_proxy localhost:444";
};
"https://cal.huwe.mooo.com" = {
extraConfig = "reverse_proxy localhost:5232";
};
};
};
}