From 830d0cbecdcd203de666f16d52fc02e3b88451dd Mon Sep 17 00:00:00 2001 From: oqyude Date: Fri, 12 Sep 2025 22:30:45 +0300 Subject: [PATCH] nginx xz? --- nixosModules/vds/nginx.nix | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/nixosModules/vds/nginx.nix b/nixosModules/vds/nginx.nix index 6067069..1f17e09 100755 --- a/nixosModules/vds/nginx.nix +++ b/nixosModules/vds/nginx.nix @@ -9,7 +9,7 @@ in { services = { nginx = { - enable = false; + enable = true; recommendedGzipSettings = true; recommendedOptimisation = true; recommendedProxySettings = true; @@ -71,17 +71,17 @@ in # }; # }; }; - # security.acme = { - # acceptTerms = true; - # defaults.email = "go.bin043120@gmail.com"; - # certs."immich.zeroq.ru" = { - # email = "go.bin043120@gmail.com"; - # dnsProvider = "cloudflare"; - # dnsResolver = "1.1.1.1"; - # environmentFile = "${inputs.zeroq-credentials}/accounts/cloudflare.txt"; - # webroot = null; # Required in my case - # }; - # }; + security.acme = { + acceptTerms = true; + defaults.email = "oqyude@gmail.com"; + # certs."immich.zeroq.ru" = { + # email = "go.bin043120@gmail.com"; + # dnsProvider = "cloudflare"; + # dnsResolver = "1.1.1.1"; + # environmentFile = "${inputs.zeroq-credentials}/accounts/cloudflare.txt"; + # webroot = null; # Required in my case + # }; + }; networking.firewall.allowedTCPPorts = [ 80 443