summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2019-10-09 23:40:27 +0200
committerlassulus <lassulus@lassul.us>2019-10-09 23:40:27 +0200
commit0857d7bcc8d69780a01303e53159063989c912aa (patch)
treeab0ba9e84dedd6e3a57f12ce6450931a63b004eb
parent8c9b0942085eb694de220d4d3b165ea1d20ec3e4 (diff)
l yellow.r: fix nginx path traversal again
-rw-r--r--lass/1systems/yellow/config.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/lass/1systems/yellow/config.nix b/lass/1systems/yellow/config.nix
index fd617518..d049bdee 100644
--- a/lass/1systems/yellow/config.nix
+++ b/lass/1systems/yellow/config.nix
@@ -47,9 +47,9 @@ with import <stockholm/lib>;
};
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";