summaryrefslogtreecommitdiff
path: root/config-example.json
diff options
context:
space:
mode:
authorLoyalsoldier <[email protected]>2024-08-06 09:15:52 +0800
committerLoyalsoldier <[email protected]>2024-08-06 09:15:52 +0800
commitee2fd80a8ff2094c89a890857e0b7f285dff8f86 (patch)
treedd48f594485dad1306a02cbb5347e46adf0b9bbc /config-example.json
parentfa11a12015d982ef095442d38ef0f42a0559b2c6 (diff)
Feat: support to customize output file extension in all plaintext formats
Diffstat (limited to 'config-example.json')
-rw-r--r--config-example.json20
1 files changed, 20 insertions, 0 deletions
diff --git a/config-example.json b/config-example.json
index eede923d..ad56c2f9 100644
--- a/config-example.json
+++ b/config-example.json
@@ -294,6 +294,26 @@
}
},
{
+ "type": "text",
+ "action": "output",
+ "args": {
+ "outputDir": "./output/nginx/allow",
+ "outputExtension": ".conf",
+ "addPrefixInLine": "allow ",
+ "addSuffixInLine": ";"
+ }
+ },
+ {
+ "type": "text",
+ "action": "output",
+ "args": {
+ "outputDir": "./output/nginx/deny",
+ "outputExtension": ".conf",
+ "addPrefixInLine": "deny ",
+ "addSuffixInLine": ";"
+ }
+ },
+ {
"type": "stdout",
"action": "output"
},