update to allow security on hugo to build in config in another dir

This commit is contained in:
2026-03-28 23:31:46 +00:00
parent 98a0e1eda9
commit 76a74bfd04
2 changed files with 38 additions and 26 deletions

View File

@@ -52,3 +52,6 @@ enableGitInfo = true
[[module.mounts]]
source = "/srv/configs"
target = "configs"
[security]
[security.funcs]
readFile = ["^/srv/configs/.*", "^/srv/docs/private/.*"]