nix-config/modules/caddy.nix
2024-12-20 08:00:51 -05:00

19 lines
267 B
Nix

{
services.caddy = {
enable = true;
virtualHosts = {
"https://" = {
extraConfig = # Caddyfile
''
reverse_proxy :3000
tls internal {
on_demand
}
'';
};
};
};
}