From a68ef5972bc84dabdf6f24f1dc8c51969337f5c9 Mon Sep 17 00:00:00 2001 From: Dmitry Voronin <hi@voronind.com> Date: Tue, 28 Jan 2025 11:01:02 +0300 Subject: [PATCH] Share: Hide all dirs. --- host/x86_64-linux/home/nginx/Share.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/host/x86_64-linux/home/nginx/Share.nix b/host/x86_64-linux/home/nginx/Share.nix index 18403fa..129b716 100644 --- a/host/x86_64-linux/home/nginx/Share.nix +++ b/host/x86_64-linux/home/nginx/Share.nix @@ -11,8 +11,8 @@ in "share.${cfg.domain}" = { inherit (cfg) sslCertificate sslCertificateKey extraConfig; locations = { - # "~* /$" = { - "= /" = { + "~* /$" = { + # "= /" = { inherit root; extraConfig = index + cfg.allowLocal; };