another test fix for includes
This commit is contained in:
@@ -42,6 +42,7 @@ enableGitInfo = true
|
||||
endLevel = 3
|
||||
ordered = false
|
||||
startLevel = 2
|
||||
|
||||
[module]
|
||||
[[module.mounts]]
|
||||
source = "content"
|
||||
@@ -51,7 +52,4 @@ enableGitInfo = true
|
||||
target = "content/private"
|
||||
[[module.mounts]]
|
||||
source = "/srv/configs"
|
||||
target = "configs"
|
||||
[security]
|
||||
[security.funcs]
|
||||
readFile = ["^/srv/configs/.*", "^/srv/docs/private/.*"]
|
||||
target = "content/configs"
|
||||
|
||||
4
config/_default/security.toml
Normal file
4
config/_default/security.toml
Normal file
@@ -0,0 +1,4 @@
|
||||
[funcs]
|
||||
readFile = ["^/srv/configs/.*", "^/srv/docs/private/.*", "^static/.*"]
|
||||
os.Stat = ["^/srv/configs/.*", "^/srv/docs/private/.*", "^static/.*"]
|
||||
os.ReadDir = ["^/srv/configs/.*", "^/srv/docs/private/.*", "^static/.*"]
|
||||
Reference in New Issue
Block a user