From bb57b5dd4a824b1c10649f45db9dfd96dc28dfb4 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Sun, 15 Nov 2020 21:51:39 -0800 Subject: [PATCH] Updated Path Specific Configuration (markdown) --- Path-Specific-Configuration.md | 35 ++++++++++++++++++++-------------- 1 file changed, 21 insertions(+), 14 deletions(-) diff --git a/Path-Specific-Configuration.md b/Path-Specific-Configuration.md index 9470b0f..0e82c36 100644 --- a/Path-Specific-Configuration.md +++ b/Path-Specific-Configuration.md @@ -20,29 +20,36 @@ $ weed shell # fs.configure will display current filer.conf content > fs.configure +{ +} # add a location specific collection setting > fs.configure -locationPrefix=/tests/ -collection=special -locations: < - location_prefix: "/tests/" - collection: "special" -> +{ + "locations": [ + { + "locationPrefix": "/tests/", + "collection": "special" + } + ] +} # save the above setting > fs.configure -locationPrefix=/tests/ -collection=special -apply -locations: < - location_prefix: "/tests/" - collection: "special" -> -> fs.configure -locations: < - location_prefix: "/tests/" - collection: "special" -> +{ + "locations": [ + { + "locationPrefix": "/tests/", + "collection": "special" + } + ] +} # delete the above setting and save to the filer > fs.configure -locationPrefix=/tests/ -delete -apply -> +{ + +} # see more options > fs.configure -h