default virtualHost

Former-commit-id: edeedda316
This commit is contained in:
Hadi
2025-03-24 13:15:37 +01:00
parent 31488b2534
commit 669249bdaa

View File

@@ -16,6 +16,11 @@
credentialsFile = config.sops.secrets.cloudflare-dns-token.path;
};
services.nginx.virtualHosts."default" = {
default = true;
locations."/" = { return = 444; };
};
networking.firewall.allowedTCPPorts = [ 80 443 ];
networking.firewall.allowedUDPPorts = [ 80 443 ];
}