bunkerweb 1.4.0
This commit is contained in:
5
core/ui/confs/modsec/ui.conf
Normal file
5
core/ui/confs/modsec/ui.conf
Normal file
@@ -0,0 +1,5 @@
|
||||
{% if USE_UI == "yes" +%}
|
||||
SecRule REQUEST_FILENAME "@rx /services$" "id:1,ctl:ruleRemoveByTag=attack-rce,ctl:ruleRemoveByTag=attack-xss,ctl:ruleRemoveByTag=attack-generic,nolog"
|
||||
SecRule REQUEST_FILENAME "@rx /global_config$" "id:2,ctl:ruleRemoveByTag=attack-rce,ctl:ruleRemoveByTag=attack-xss,ctl:ruleRemoveByTag=attack-generic,nolog"
|
||||
SecRule REQUEST_FILENAME "@rx /configs$" "id:3,ctl:ruleRemoveByTag=attack-rce,ctl:ruleRemoveByTag=attack-xss,ctl:ruleRemoveByTag=attack-generic,nolog"
|
||||
{% endif +%}
|
||||
18
core/ui/plugin.json
Normal file
18
core/ui/plugin.json
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"id": "ui",
|
||||
"order": 999,
|
||||
"name": "UI",
|
||||
"description": "Integrate easily the BunkerWeb UI.",
|
||||
"version": "0.1",
|
||||
"settings": {
|
||||
"USE_UI": {
|
||||
"context": "multisite",
|
||||
"default": "no",
|
||||
"help": "Use UI",
|
||||
"id": "use-ui",
|
||||
"label": "Use UI",
|
||||
"regex": "^(yes|no)$",
|
||||
"type": "check"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user