Commit Graph
3 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
kschianoandClaude Opus 5.5 b9d692a91c Build the site image on Red Hat's hardened images
CI / test (pull_request) Successful in 41s
Node build on hi/nodejs:22-builder, the nginx config checked with `nginx -t` on
hi/nginx:latest-builder, served by the distroless hi/nginx runtime (UID 65532,
no shell). nginx keeps temp files in /tmp so the pod can run with a read-only
root filesystem; adds nosniff/referrer headers and hides the nginx version.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 20:49:45 -05:00
kschianoandClaude Opus 5.5 bbea5db2ee Publish the site as a container on the cluster instead of the pages branch
CI / test (pull_request) Successful in 42s
Every push to main builds the page into an nginx image and pushes it to
harbor.kenschiano.net/home/threshing-atlas; Argo CD Image Updater rolls the
deployment (kubefiles web/threshing-atlas) at https://threshingatlas.kenschiano.net.
forge.yaml now names that address.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 20:38:46 -05:00