ws.* / admin-ws.* в Traefik; audit IP на стенде — не unknown вместо XFF. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -9,15 +9,15 @@ case "${STAND}" in
|
||||
ift)
|
||||
API_HOST="${API_HOST:-https://api.ift.eventhub.local}"
|
||||
ADMIN_API_HOST="${ADMIN_API_HOST:-https://admin-api.ift.eventhub.local}"
|
||||
WS_HOST="${WS_HOST:-wss://api.ift.eventhub.local}"
|
||||
ADMIN_WS_HOST="${ADMIN_WS_HOST:-wss://admin-api.ift.eventhub.local}"
|
||||
WS_HOST="${WS_HOST:-wss://ws.ift.eventhub.local}"
|
||||
ADMIN_WS_HOST="${ADMIN_WS_HOST:-wss://admin-ws.ift.eventhub.local}"
|
||||
DEVOPS_SMOKE="/opt/eventhub-ift/devops/scripts/smoke-core.sh"
|
||||
;;
|
||||
stage)
|
||||
API_HOST="${API_HOST:-https://api.stage.eventhub.local}"
|
||||
ADMIN_API_HOST="${ADMIN_API_HOST:-https://admin-api.stage.eventhub.local}"
|
||||
WS_HOST="${WS_HOST:-wss://api.stage.eventhub.local}"
|
||||
ADMIN_WS_HOST="${ADMIN_WS_HOST:-wss://admin-api.stage.eventhub.local}"
|
||||
WS_HOST="${WS_HOST:-wss://ws.stage.eventhub.local}"
|
||||
ADMIN_WS_HOST="${ADMIN_WS_HOST:-wss://admin-ws.stage.eventhub.local}"
|
||||
DEVOPS_SMOKE="/opt/eventhub-stage/devops/scripts/smoke-core.sh"
|
||||
;;
|
||||
*)
|
||||
@@ -41,6 +41,8 @@ fi
|
||||
echo "=== API CT remote (${STAND}) ==="
|
||||
echo " API_HOST=${API_HOST}"
|
||||
echo " ADMIN_API_HOST=${ADMIN_API_HOST}"
|
||||
echo " WS_HOST=${WS_HOST}"
|
||||
echo " ADMIN_WS_HOST=${ADMIN_WS_HOST}"
|
||||
|
||||
if ! docker image inspect eventhub-api-tests:local >/dev/null 2>&1; then
|
||||
bash scripts/retry-docker-build.sh 5 60 -- \
|
||||
|
||||
Reference in New Issue
Block a user