Private
Public Access
2
0
Files
bgwaf/example/ansible/vars/common.yml

47 lines
1.5 KiB
YAML
Raw Normal View History

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:
- id: "test"
name: "test.lab"
2026-01-07 14:27:55 +03:00
paths:
- addrs:
- "http://www1"
- "http://www2"
- "http://www3"
2026-02-05 09:53:50 +03:00
proxy_lb_policy: "random"
proxy_active_checks: true
2026-02-06 17:33:56 +03:00
proxy_active_checks_status: "301"
2026-02-05 09:53:50 +03:00
proxy_passive_checks: false
2026-01-07 14:27:55 +03:00
custom_cert: true
2026-01-14 11:03:59 +03:00
custom_cert_file: "/etc/ssl/certs/test.lab.crt"
custom_cert_key_file: "/etc/ssl/private/test.lab.key"
2026-02-05 09:53:50 +03:00
# filter_whitelist: ["10.60.117.1"]
2026-01-20 12:27:03 +03:00
crs_plugins:
2026-01-19 15:06:34 +03:00
- "wordpress-rule-exclusions"
2026-01-20 12:27:03 +03:00
crs_exceptions:
2026-01-19 15:06:34 +03:00
# 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"'
2026-02-06 17:33:56 +03:00
# after_response:
# - 'SecRuleUpdateTargetById 932260 "!ARGS:tag-name"'
2026-01-20 12:27:03 +03:00
header_cross_origin_embedder_policy: "unsafe-none"
header_content_security_policy:
worker-src: "'self' blob:"
img-src: "'self' data: https://secure.gravatar.com/avatar/"
font-src: "'self' data:"
script-src: "'self' 'unsafe-eval'"
script-src-elem: "'self' 'unsafe-inline'"
style-src-attr: "'self' 'unsafe-inline'"
style-src-elem: "'self' 'unsafe-inline'"
frame-src: "'self' blob:"