2026-01-14 11:03:59 +03:00
|
|
|
common:
|
|
|
|
|
|
|
|
|
|
certificates:
|
|
|
|
|
country_name: "FR"
|
|
|
|
|
locality_name: "Vannes"
|
|
|
|
|
organization_name: "iTik"
|
|
|
|
|
email_address: "ca@itik.fr"
|
|
|
|
|
|
2026-01-07 14:27:55 +03:00
|
|
|
consul:
|
2026-01-14 11:03:59 +03:00
|
|
|
domain: "itik.fr"
|
|
|
|
|
datacenter: "lab"
|
2026-01-07 14:27:55 +03:00
|
|
|
|
|
|
|
|
sites:
|
|
|
|
|
- name: "test"
|
|
|
|
|
site: "test.lab"
|
|
|
|
|
paths:
|
|
|
|
|
- addrs:
|
|
|
|
|
- "http://www1"
|
|
|
|
|
- "http://www2"
|
|
|
|
|
- "http://www3"
|
|
|
|
|
custom_cert: true
|
2026-01-14 11:03:59 +03:00
|
|
|
custom_cert_file: "/etc/ssl/certs/test.lab.crt"
|
|
|
|
|
custom_key_file: "/etc/ssl/private/test.lab.key"
|
2026-01-19 15:06:34 +03:00
|
|
|
plugins:
|
|
|
|
|
- "wordpress-rule-exclusions"
|
|
|
|
|
exceptions:
|
|
|
|
|
# Cf. https://github.com/owasp-modsecurity/ModSecurity/wiki/Reference-Manual-(v3.x)
|
2026-01-08 06:51:04 +03:00
|
|
|
# before_request:
|
2026-01-19 15:06:34 +03:00
|
|
|
# - 'SecRule REQUEST_FILENAME "@endsWith /wp-admin/admin-ajax.php" "id:1,nolog,ctl:ruleRemoveById=932260"'
|
|
|
|
|
after_response:
|
|
|
|
|
- 'SecRuleUpdateTargetById 932260 "!ARGS:tag-name"'
|