Share: Hide only root dir.

This commit is contained in:
Dmitry Voronin 2025-01-09 17:13:36 +03:00
parent 5eb4601e47
commit 5c952bcabc
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -7,7 +7,8 @@ in
"share.${cfg.domain}" = { "share.${cfg.domain}" = {
inherit (cfg) sslCertificate sslCertificateKey extraConfig; inherit (cfg) sslCertificate sslCertificateKey extraConfig;
locations = { locations = {
"~* /$" = { # "~* /$" = {
"= /" = {
inherit root; inherit root;
extraConfig = extraConfig =
cfg.allowLocal cfg.allowLocal