forked from mtusi2026/mtusi2026lab7
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user