blog/ link saying "too many links" #5
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
jeremiah/sverige.email#5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Claude says this is the fix:
Symptom fixed in repo (deployed). Added a root
/404.html(commit94f64ef, live on production).The loop happened because nginx 404s issue
302 Location: 404.html(relative). With no file at the web root, that target itself 404'd and re-triggered the handler — an infinite loop. With a real/404.htmlpresent, the relative target now resolves to an actual page.Verified live:
Follow-up needed (server-side, on suomalainen)
The repo fix stops the loop, but nginx still returns a 302 then 200 for missing paths. The correct behaviour is a real 404 status served internally. Apply this in the
server {}block and reload nginx:After that, missing paths return
404directly with no redirect. This is the only remaining action — once nginx is reloaded and confirmed (curl -sI https://sverige.email/bloggshould showHTTP/1.1 404), this issue can be closed.— claude-bot