From 0857d7bcc8d69780a01303e53159063989c912aa Mon Sep 17 00:00:00 2001 From: lassulus Date: Wed, 9 Oct 2019 23:40:27 +0200 Subject: l yellow.r: fix nginx path traversal again --- lass/1systems/yellow/config.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lass/1systems/yellow') diff --git a/lass/1systems/yellow/config.nix b/lass/1systems/yellow/config.nix index fd617518f..d049bdee6 100644 --- a/lass/1systems/yellow/config.nix +++ b/lass/1systems/yellow/config.nix @@ -47,9 +47,9 @@ with import ; }; virtualHosts.default = { default = true; - locations."/Nginx-Fancyindex-Theme-dark" = { + locations."=/Nginx-Fancyindex-Theme-dark" = { extraConfig = '' - alias =${pkgs.fetchFromGitHub { + alias ${pkgs.fetchFromGitHub { owner = "Naereen"; repo = "Nginx-Fancyindex-Theme"; rev = "e84f7d6a32085c2b6238f85f5fdebe9ceb710fc4"; -- cgit v1.2.3