Prepare to replace knakelibrak

Co-authored-by: Felix Albrigtsen <felix@albrigtsen.it>
This commit is contained in:
2023-11-05 01:41:45 +01:00
parent 54a54ad0f5
commit d5985e02f3
3 changed files with 53 additions and 1 deletions

View File

@@ -1,18 +0,0 @@
{ pkgs, config, ... }:
{
security.acme = {
acceptTerms = true;
defaults.email = "drift@pvv.ntnu.no";
};
services.nginx = {
enable = true;
recommendedTlsSettings = true;
recommendedProxySettings = true;
recommendedOptimisation = true;
recommendedGzipSettings = true;
};
networking.firewall.allowedTCPPorts = [ 80 443 ];
}