Add host ildkule

This commit is contained in:
2022-12-17 21:51:43 +01:00
parent 44f2b6d8d8
commit 6b1f0eb090
5 changed files with 132 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
{config, ... }:
{
security.acme = {
acceptTerms = true;
defaults.email = "danio@pvv.ntnu.no";
};
services.nginx = {
enable = true;
defaultListenAddresses = [ "129.241.210.187" "127.0.0.1" "127.0.0.2" "[2001:700:300:1900::187]" "[::1]" ];
recommendedProxySettings = true;
recommendedTlsSettings = true;
recommendedGzipSettings = true;
recommendedOptimisation = true;
};
networking.firewall.allowedTCPPorts = [ 80 443 ];
}