Share: Hide only root dir.
This commit is contained in:
parent
5eb4601e47
commit
5c952bcabc
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue