The project is now norn: .loom/ is .norn/, loomctl is nornctl (NORNCTL_* env vars, ~/.config/nornctl), and the Gitea org is norn. Event logs moved with the directory but their text is unchanged — they are a record of what was decided at the time. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
28 lines
760 B
YAML
28 lines
760 B
YAML
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: docs-nginx
|
|
namespace: norn
|
|
data:
|
|
default.conf: |
|
|
server {
|
|
listen 8080;
|
|
# git-sync keeps `current` pointed at the checked-out worktree, so this
|
|
# path follows a new commit without nginx restarting.
|
|
root /site/current/dist;
|
|
index index.html;
|
|
|
|
# Astro emits directory-style URLs: /bedrock/starting/ -> .../index.html
|
|
location / {
|
|
try_files $uri $uri/ $uri/index.html =404;
|
|
}
|
|
|
|
# Hashed assets are immutable; pages are not, and a cached page is how a
|
|
# corrected document keeps reading as true.
|
|
location /_astro/ {
|
|
add_header Cache-Control "public, max-age=31536000, immutable";
|
|
}
|
|
|
|
error_page 404 /404.html;
|
|
}
|