- Ajout de procps-ng dans les 4 Dockerfiles runtime (ps/pgrep disponibles) - Remplacement de pgrep par ps -C dans tous les run-tests.sh - Correction entrypoint nginx-varnish : pgrep nginx → cat nginx.pid (exit 127) - Activation HTTP/2 dans Varnish : ajout de -p feature=+http2 dans les entrypoints nginx-varnish et hitch-varnish - Restauration ALPN h2,http/1.1 dans hitch.conf (varnish supporte maintenant h2) - Correction healthcheck hitch-varnish : curl sans --http1.1 (h2 fonctionnel) - Correction requêtes phase_verify : http_logs_raw → http_logs, colonnes correctes - Correction writer clickhouse.go : noms JSON alignés avec la MV (ip_meta_*, tls_sni…) - Fix toStartOfSecond(DateTime) → toStartOfSecond(toDateTime64(col, 3)) - Retrait du SKIP el8/nginx-varnish (varnish s'installe bien sur AlmaLinux 8) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
37 lines
1.1 KiB
Plaintext
37 lines
1.1 KiB
Plaintext
# hitch.conf — TLS offloader hitch
|
|
# Terminaison TLS sur port 443, transmission à Varnish (port 6081) via PROXY protocol.
|
|
# Le PROXY protocol permet à Varnish de connaître la vraie IP source du client.
|
|
# Réf: https://hitch-tls.org/
|
|
|
|
# Adresse et port d'écoute TLS
|
|
frontend = "[*]:443"
|
|
|
|
# Backend Varnish (HTTP cleartext + PROXY protocol header)
|
|
backend = "[127.0.0.1]:6081"
|
|
|
|
# Fichier PEM : clé privée + certificat (concaténés)
|
|
pem-file = "/etc/hitch/hitch.pem"
|
|
|
|
# Activation du PROXY protocol v1 (texte) vers le backend
|
|
write-proxy-v1 = on
|
|
|
|
# Protocoles TLS acceptés
|
|
tls-protos = TLSv1.2 TLSv1.3
|
|
|
|
# Suites de chiffrement variées pour générer des JA4 distincts
|
|
ciphers = "ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256"
|
|
|
|
# ALPN : h2 et http/1.1 — varnish supporte h2 via -p feature=+http2
|
|
alpn-protos = "h2,http/1.1"
|
|
|
|
# Nombre de workers (= nombre de cœurs pour les tests)
|
|
workers = 2
|
|
|
|
# Utilisateur non-root pour les workers (hitch refuse root depuis 1.5.x)
|
|
user = "nobody"
|
|
|
|
# Répertoire de travail
|
|
daemon = off
|
|
log-level = 1
|
|
syslog = off
|