ShipBastion AI Watch — $19/mo

fly.io HTTP Security Headers & TLS Grade (2026)

fly.io scores B (70/100) for HTTP security headers as of 2026-11-29; missing: Strict-Transport-Security and Permissions-Policy. TLS: TLS 1.3 (TLS_AES_256_GCM_SHA384), certificate valid for 62 more days. Rank #47 of 78 graded top sites.

Headers grade
B
70 / 100
TLS
TLS 1.3
TLS_AES_256_GCM_SHA384 · A+
Certificate
62
days left · Let's Encrypt
Rank
#47/78
Dev & SaaS average: 72/100

fly.io security headers, one by one

HeaderWeightStatusValue / note
Strict-Transport-Security25 missing —
Content-Security-Policy25 warning base-uri 'self'; frame-ancestors 'self'; — no script-src/default-src; object-src not restricted
X-Frame-Options20 good covered by CSP frame-ancestors 'self'
X-Content-Type-Options20 good nosniff
Referrer-Policy5 good strict-origin-when-cross-origin
Permissions-Policy5 missing —

Graded on https://fly.io/ · HTTP 200 · 0 redirect(s)

Missing headers & free fix

  • Strict-Transport-Security
  • Permissions-Policy
# nginx
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
add_header Permissions-Policy "camera=(), microphone=(), geolocation=()" always;

# Caddy
header {
  Strict-Transport-Security "max-age=31536000; includeSubDomains"
  Permissions-Policy "camera=(), microphone=(), geolocation=()"
}

Free JSON API

Re-grade fly.io (or any site) from your terminal or CI — free, no key, CORS enabled.

curl -s "https://shipbastion.com/api/v1/headers?url=https://fly.io" | jq '.summary.grade, .missingHeaders, .tls.protocol'

Headers are 6 checks. VibeShield runs 100+.

Run a free deep security scan of your own site: exposed .env and .git files, open Supabase/Firebase tables, leaked API keys in JS bundles, CORS, cookies, DNS/email security and these headers — with copy-paste fixes.

Dev & SaaS sites: security-header grades

FAQ

What is fly.io's security headers grade?

B (70/100) on 2026-11-29, using the same weights as the free ShipBastion headers API: HSTS 25, CSP 25, X-Frame-Options 20, X-Content-Type-Options 20, Referrer-Policy 5, Permissions-Policy 5.

Which security headers is fly.io missing?

Strict-Transport-Security and Permissions-Policy.

Does fly.io use TLS 1.3?

fly.io negotiated TLS 1.3 with TLS_AES_256_GCM_SHA384; certificate issued by Let's Encrypt.

How can I check my own site's headers?

Use the free headers checker at https://shipbastion.com/tools/headers or the JSON API: curl -s "https://shipbastion.com/api/v1/headers?url=https://fly.io"