os/hosts/pioneer-momo-koeln/caddy.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
349 B
Nix
Raw Permalink Normal View History

2023-07-13 18:50:18 +00:00
{config, ...}: {
2023-03-31 13:58:57 +00:00
services.caddy = {
enable = true;
email = "wg-tooling@list.momo.koeln";
virtualHosts = {
"auth.momo.koeln" = {
logFormat = ''
output discard
'';
extraConfig = ''
reverse_proxy :8080
'';
};
};
};
networking.firewall.allowedTCPPorts = [80 443];
}