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