2024-05-08 20:57:07 +00:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
flake,
|
|
|
|
...
|
2023-11-06 20:28:05 +00:00
|
|
|
}:
|
|
|
|
{
|
2024-05-08 20:57:07 +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
|
|
|
|
'';
|
|
|
|
};
|
2024-05-08 20:57:07 +00:00
|
|
|
networking.firewall.allowedTCPPorts = [
|
|
|
|
80
|
|
|
|
443
|
|
|
|
];
|
2023-11-06 20:28:05 +00:00
|
|
|
}
|