From 5c952bcabc8bf18fc2ed31c83be7d28717554e99 Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Thu, 9 Jan 2025 17:13:36 +0300 Subject: [PATCH] Share: Hide only root dir. --- host/x86_64-linux/home/nginx/Share.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/host/x86_64-linux/home/nginx/Share.nix b/host/x86_64-linux/home/nginx/Share.nix index 6021d02..8175723 100644 --- a/host/x86_64-linux/home/nginx/Share.nix +++ b/host/x86_64-linux/home/nginx/Share.nix @@ -7,7 +7,8 @@ in "share.${cfg.domain}" = { inherit (cfg) sslCertificate sslCertificateKey extraConfig; locations = { - "~* /$" = { + # "~* /$" = { + "= /" = { inherit root; extraConfig = cfg.allowLocal