nginx: declare every file type the page serves #55

Merged
kathleen merged 1 commits from deploy/explicit-types into main 2026-11-22 01:57:44 +00:00
1 Commits
Author SHA1 Message Date
kathleenandClaude Opus 5.5 b61546a53a nginx: declare every file type the page serves
CI / test (pull_request) Successful in 41s
With X-Content-Type-Options: nosniff a browser refuses a script whose type is not
exactly a JavaScript type. Declare the types of every file the site build writes
(html, js, json, csv, css, svg, plus yaml/py/md as text) instead of relying on the
base image's mime.types, so the page loads whatever that list contains.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UCzTd31GphpMXDhQqWrCMQ
2026-11-22 01:56:37 +00:00