commit f0bdb1655397324726a1ef46f2c797d3990fbde3
parent d73422c4b52645ba4ed5fb94df94019e5027f902
Author: Vincent Demeester <vincent@sbr.pm>
Date: Mon, 15 Jun 2020 15:41:33 +0200
systems/kerkouane: enable autoindex on dl.sbr.pm
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/systems/kerkouane.nix b/systems/kerkouane.nix
@@ -92,6 +92,9 @@ in
root = "/home/vincent/desktop/sites/dl.sbr.pm";
locations."/" = {
index = "index.html";
+ extraConfig = ''
+ autoindex on;
+ '';
};
extraConfig = nginxExtraConfig;
};