From e220cd68aea48f5f2b5e93f460b1cb94e08f33fd Mon Sep 17 00:00:00 2001 From: zackartz Date: Fri, 3 May 2024 15:58:29 -0400 Subject: [PATCH] add autoindex --- hosts/pluto/services/mirror.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hosts/pluto/services/mirror.nix b/hosts/pluto/services/mirror.nix index 2916c7f..f2b4a2f 100644 --- a/hosts/pluto/services/mirror.nix +++ b/hosts/pluto/services/mirror.nix @@ -22,5 +22,8 @@ forceSSL = true; enableACME = true; root = "/var/www/mirror.zackmyers.io"; + location."/".extraConfig = '' + autoindex on; + ''; }; }