From c4cd811529ea9dcf757e2518bd1aa939cdcc5825 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 5 Aug 2024 17:26:22 -0700 Subject: another attempt for nginx and acme --- nix/hosts/wildcat/configuration.nix | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'nix/hosts') diff --git a/nix/hosts/wildcat/configuration.nix b/nix/hosts/wildcat/configuration.nix index c4c50c5..23ac05f 100644 --- a/nix/hosts/wildcat/configuration.nix +++ b/nix/hosts/wildcat/configuration.nix @@ -14,7 +14,12 @@ services.nginx = { enable = true; + recommendedProxySettings = true; + recommendedGzipSettings = true; + recommendedOptimisation = true; + recommendedTlsSettings = true; + virtualHosts = { "fcuny.net" = { addSSL = true; @@ -23,6 +28,9 @@ "/" = { root = "/srv/www/fcuny.net"; }; + "/.well-known/acme-challenge" = { + root = "/var/lib/acme/.challenges"; + }; }; }; }; -- cgit 1.4.1