add previously missing nginx.nix

This commit is contained in:
k3t
2026-03-15 21:58:23 -06:00
parent 17d74e5a3e
commit 0ff018761f
+22
View File
@@ -0,0 +1,22 @@
{ config, lib, pkgs, ... }:
{
services.nginx = {
enable = true;
recommendedGzipSettings = true;
recommendedOptimisation = true;
recommendedProxySettings = true;
recommendedTlsSettings = true;
virtualHosts."k3t.dev" = {
enableACME = true;
forceSSL = true;
root = "/var/www/k3t.dev";
};
};
security.acme = {
acceptTerms = true;
defaults.email = "k3t@k3t.dev";
};
}