@@ -13,8 +13,47 @@ node_exporter_bin_path: /usr/local/bin/node_exporter
1313node_exporter_host : ' localhost'
1414node_exporter_port : 8100
1515node_exporter_htpasswd : ' /etc/ooni/prometheus_passwd'
16+ node_exporter_web_config : ' /etc/ooni/node_exporter_web_config.yml'
1617node_exporter_options : ' '
1718
1819node_exporter_state : started
1920node_exporter_enabled : true
2021node_exporter_restart : on-failure
22+
23+ tls_cert_file : " /var/lib/dehydrated/certs/{{ inventory_hostname }}/fullchain.pem"
24+ tls_key_file : " /var/lib/dehydrated/certs/{{ inventory_hostname }}/privkey.pem"
25+
26+ tls_client_auth_type : " RequireAndVerifyClientCert" # Enforce client authentication.
27+
28+ tls_client_ca_file : " /etc/ssl/certs/scraper_ca.cert" # Path to the CA certificate file for clients.
29+
30+ tls_client_allowed_sans :
31+ - " DNS:monitoringproxy.dev.ooni.io" # Allow this SAN to match.
32+ - " DNS:monitoringproxy.prod.ooni.io" # Allow this SAN to match.
33+
34+ tls_min_version : " TLS12" # Minimum TLS version allowed.
35+ tls_max_version : " TLS13" # Maximum TLS version allowed.
36+
37+ tls_cipher_suites :
38+ - " TLS_AES_128_GCM_SHA256"
39+ - " TLS_AES_256_GCM_SHA384"
40+ - " TLS_CHACHA20_POLY1305" # Modern, secure cipher suites.
41+
42+ tls_prefer_server_cipher_suites : true # Prefer server cipher suites.
43+
44+ tls_curve_preferences :
45+ - " X25519" # Preferred curves for ECDHE.
46+
47+ http2_enabled : true # Enable HTTP/2 support.
48+
49+ # Default HTTP headers
50+ http_csp : " default-src 'self';" # Content-Security-Policy.
51+ http_x_frame_options : " DENY" # X-Frame-Options.
52+ http_x_content_type_options : " nosniff" # X-Content-Type-Options.
53+ http_x_xss_protection : " 1; mode=block" # X-XSS-Protection.
54+ http_strict_transport_security : " max-age=63072000; includeSubDomains; preload" # HSTS settings.
55+
56+ basic_auth_users : {} # No basic authentication by default.
57+
58+ rate_limit_interval : " 10s" # Time interval between requests.
59+ rate_limit_burst : 20 # Allow a burst of 20 requests.
0 commit comments