fix: audit P0-P1 — T03-T07, D01-D08, U01-U02 (#1788956171115)

This commit is contained in:
ik
2026-09-09 20:02:52 +07:00
parent c6fdc969c2
commit 63e33e1861
17 changed files with 182 additions and 72 deletions
+1
View File
@@ -5,6 +5,7 @@
{$SITE_DOMAIN} {
encode zstd gzip
body_limit 10M
@immutable path /_astro/*
header @immutable Cache-Control "public, max-age=31536000, immutable"
+1 -1
View File
@@ -39,7 +39,7 @@ fail() {
}
running=$($compose ps --status running --services 2>/dev/null) || running=""
for service in proxy db minio api web; do
for service in proxy db minio api web community-scheduler; do
printf '%s\n' "$running" | grep -qx "$service" || fail "service:$service"
done
+1 -1
View File
@@ -21,7 +21,7 @@ cleanup() {
}
trap cleanup EXIT INT TERM
$compose up --build -d --wait db minio api web
$compose up --build -d --wait db minio api web proxy community-scheduler
curl -fsS "http://127.0.0.1:$BOOTSTRAP_API_PORT/ready" >/dev/null
curl -fsS "http://127.0.0.1:$BOOTSTRAP_WEB_PORT/" >/dev/null
curl -fsS -D - -o /dev/null "http://127.0.0.1:$BOOTSTRAP_API_PORT/health" | grep -qi '^x-frame-options: DENY'