Browse Source

new: [apache] allow to set ``core-rules`` in main service ``options``.

framadate
Valentin Lab 5 years ago
parent
commit
94f79386ac
  1. 4
      apache/hooks/init

4
apache/hooks/init

@ -21,3 +21,7 @@ if [ "$ssh_tunnel_cfg" ]; then
apache_ssh_tunnel "$ssh_tunnel_cfg"
fi
core_rules=$(options-get core-rules 2>/dev/null) || true
if [ "$core_rules" ]; then
apache_core_rules_add "$core_rules"
fi
Loading…
Cancel
Save