fix: disable TLS 1.3 session tickets on the HAProxy ingress

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-17 12:06:55 +03:00
co-authored by Claude Opus 5.5
parent 465d7383aa
commit b56157b109
12 changed files with 236 additions and 30 deletions
+10
View File
@@ -569,6 +569,10 @@ services:
environment:
# порт реплик внутри сети (mTLS к слотам): тот же APP__PORT
API_PORT: ${APP__PORT:-8080}
# конфигурация OpenSSL процесса: системная образа + NumTickets = 0 (без
# билетов TLS 1.3 на ingress: обрыв клиента — FIN, а не RST; в
# haproxy.cfg такого ключевого слова нет — infra/haproxy/openssl.cnf)
OPENSSL_CONF: /usr/local/etc/haproxy/openssl.cnf
ports:
# только localhost и только HTTPS (сертификат ingress, SAN localhost);
# HTTP-порта API на хосте нет, APP_OUT_PORT прежних лаб не читается
@@ -588,6 +592,12 @@ services:
read_only: true
bind:
create_host_path: false
- type: bind
source: ./infra/haproxy/openssl.cnf
target: /usr/local/etc/haproxy/openssl.cnf
read_only: true
bind:
create_host_path: false
# make stop гасит LB раньше реплик, make run_docker поднимает после них
depends_on:
- api