From 66f7faf74bf37811b28c53e820c02d5b03683c38 Mon Sep 17 00:00:00 2001 From: winston Date: Fri, 23 Aug 2024 20:35:29 +0200 Subject: [PATCH] feat: add experiments.winston.sh --- config/services/website/default.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/config/services/website/default.nix b/config/services/website/default.nix index fbbc5a4..44b1b71 100644 --- a/config/services/website/default.nix +++ b/config/services/website/default.nix @@ -6,4 +6,20 @@ locations."/".root = ./www; }; + + services.nginx.virtualHosts."experiments.winston.sh" = { + forceSSL = true; + enableACME = false; + useACMEHost = "winston.sh"; + + locations."/" = { + root = "/var/lib/winston.sh/experiments"; + extraConfig = '' + autoindex on; + autoindex_exact_size off; + autoindex_format html; + autoindex_localtime on; + ''; + }; + }; }