{ ... }: let fqdn = "fit.freun.dev"; port = 3322; in { services.workout-tracker = { enable = true; inherit port; }; services.caddy.virtualHosts = { "${fqdn}".extraConfig = '' reverse_proxy localhost:${toString port} ''; }; }