#!/bin/sh
H="Host: privia-inteligente.localhost"
for u in "/agent/chat/index" "/index.php?r=agent/chat/debug" "/performance/contexto/index" "/site/login" "/agxprobe.html"; do
    code=$(curl -s -o /dev/null -w "%{http_code}|%{redirect_url}" "http://127.0.0.1$u" -H "$H")
    printf '%-38s -> %s\n' "$u" "$code"
done