l yellow.r: fix nginx path traversal again

This commit is contained in:
lassulus 2019-10-09 23:40:27 +02:00
parent 8c9b094208
commit 0857d7bcc8

View File

@ -47,9 +47,9 @@ with import <stockholm/lib>;
}; };
virtualHosts.default = { virtualHosts.default = {
default = true; default = true;
locations."/Nginx-Fancyindex-Theme-dark" = { locations."=/Nginx-Fancyindex-Theme-dark" = {
extraConfig = '' extraConfig = ''
alias =${pkgs.fetchFromGitHub { alias ${pkgs.fetchFromGitHub {
owner = "Naereen"; owner = "Naereen";
repo = "Nginx-Fancyindex-Theme"; repo = "Nginx-Fancyindex-Theme";
rev = "e84f7d6a32085c2b6238f85f5fdebe9ceb710fc4"; rev = "e84f7d6a32085c2b6238f85f5fdebe9ceb710fc4";