점검 예시
terminal
# 응답 시간 확인
curl -w "status=%{http_code} total=%{time_total}
" -o /dev/null -s https://api.example.com/reports
# 헬스체크 분리
curl -i https://api.example.com/healthnginx.conf
location /api/ {
proxy_connect_timeout 10s;
proxy_send_timeout 60s;
proxy_read_timeout 60s;
}주의
타임아웃만 무작정 늘리면 장애 감지와 복구가 늦어집니다. 원인 쿼리/외부 연동 지연을 먼저 줄인 뒤 필요한 범위만 조정하세요.