2023-11-06 20:28:05 +00:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
flake,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
{
|
2024-05-08 17:47:47 +00:00
|
|
|
services.caddy = {
|
2023-11-06 20:28:05 +00:00
|
|
|
enable = lib.mkForce true;
|
2024-04-28 15:25:40 +00:00
|
|
|
group = config.pub-solar-os.authentication.robot.username;
|
|
|
|
email = config.pub-solar-os.adminEmail;
|
2023-11-06 20:28:05 +00:00
|
|
|
enableReload = true;
|
|
|
|
globalConfig = lib.mkForce ''
|
|
|
|
grace_period 60s
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
networking.firewall.allowedTCPPorts = [
|
|
|
|
80
|
|
|
|
443
|
|
|
|
];
|
|
|
|
}
|