feat(vps): add caddy

- Enabled caddy service
- Opened port 80, 443 for Caddy
This commit is contained in:
lightly-toasted 2025-09-25 16:33:32 +09:00
parent cbe7b1204d
commit 24900346f9
3 changed files with 15 additions and 1 deletions

View file

@ -3,6 +3,9 @@
{
networking.hostName = "vps";
networking.domain = "";
networking.firewall.enable = true;
networking.firewall = {
enable = true;
allowedTCPPorts = [ 22 80 443 ];
};
boot.kernel.sysctl."net.ipv4.ip_forward" = 1;
}