bug: Documentation doesn't have proper 404 page #2624

Closed
opened 2026-11-29 17:46:12 +00:00 by silversys · 8 comments
Member

What is the bug?

Going to a non-existent path on the documentation page currently gives a firefox-default 404 page (or whatever browser you're using) instead of going to /404.html (or showing the same as is shown there)

Steps to reproduce

go to https://continuwuity.org/thisdoesntexist

Server name and version

irrelevant

Additional context

No response

### What is the bug? Going to a non-existent path on the documentation page currently gives a firefox-default 404 page (or whatever browser you're using) instead of going to /404.html (or showing the same as is shown there) ### Steps to reproduce go to https://continuwuity.org/thisdoesntexist ### Server name and version irrelevant ### Additional context _No response_
Member

If this goes on the VPS, it depends on Caddy and is as simple as adding a handle_errors probably.

If this is on grebedoc, you'd probably need to edit its _redirects file.

If this goes on the VPS, it depends on Caddy and is as simple as adding a [`handle_errors`](https://caddyserver.com/docs/caddyfile/directives/handle_errors) probably. If this is on grebedoc, you'd probably need to edit its [`_redirects`](https://docs.netlify.com/manage/routing/redirects/redirect-options/#custom-404-page-handling) file.
Author
Member

Grebedoc handles it perfectly (see example: https://silversys.dev/thisdoesnotexist), so this is likely the VPS.

we can probably change the DNS entry over from the VPS to grebedoc around now, seeing as we deploy main to it (https://forgejo.ellis.link/continuwuation/continuwuity/actions/runs/28457/jobs/0/attempt/1#jobstep-8-167)

Grebedoc handles it perfectly (see example: https://silversys.dev/thisdoesnotexist), so this is likely the VPS. we can probably change the DNS entry over from the VPS to grebedoc around now, seeing as we deploy main to it (https://forgejo.ellis.link/continuwuation/continuwuity/actions/runs/28457/jobs/0/attempt/1#jobstep-8-167)
Member

Secondary confirmation that not only Grebedoc, but our specific SSG (Rspress) can handle it perfectly: https://preview.continuwuity.org/@2621/doesntexist

I agree, it’s time to push the Grebedoc button in prod :3

Secondary confirmation that not only Grebedoc, but our specific SSG (Rspress) can handle it perfectly: https://preview.continuwuity.org/@2621/doesntexist I agree, it’s time to push the Grebedoc button in prod :3
Member

Looks like the prod DNS entry has been changed:

ovh01 λ › dig continuwuity.org A +short && dig grebedoc.dev A +short
185.187.152.7
185.187.152.7
ovh01 λ › dig continuwuity.org AAAA +short && dig grebedoc.dev AAAA +short
2a05:b0c4:1::3
2a05:b0c4:1::3

After either waiting for your upstream DNS to receive the new info or changing your local hosts file, you should now find that a URL like https://continuwuity.org/thisdoesntexist leads you to the site's built-in 404 page.

Looks like the prod DNS entry has been changed: ``` ovh01 λ › dig continuwuity.org A +short && dig grebedoc.dev A +short 185.187.152.7 185.187.152.7 ovh01 λ › dig continuwuity.org AAAA +short && dig grebedoc.dev AAAA +short 2a05:b0c4:1::3 2a05:b0c4:1::3 ``` After either waiting for your upstream DNS to receive the new info or changing your local hosts file, you should now find that a URL like https://continuwuity.org/thisdoesntexist leads you to the site's built-in 404 page.
Owner

Changed it a bit before making the release

Changed it a bit before making the release
Owner
Still seems to be mild issues: https://forgejo.ellis.link/continuwuation/continuwuity/actions/runs/28589/jobs/0/attempt/1 but we're nearly there
Member

@Jade wrote in #2624 (comment):

Still seems to be mild issues: https://forgejo.ellis.link/continuwuation/continuwuity/actions/runs/28589/jobs/0/attempt/1 but we're nearly there

That's an artifact of the preview step not having fleshed-out conditionals; the preview step is failing on the tagged release. The production step, however, was successful on the main run.

@Jade wrote in https://forgejo.ellis.link/continuwuation/continuwuity/issues/2624#issuecomment-41527: > Still seems to be mild issues: https://forgejo.ellis.link/continuwuation/continuwuity/actions/runs/28589/jobs/0/attempt/1 but we're nearly there That's an artifact of the preview step not having fleshed-out conditionals; the *preview* step is failing on the tagged release. The *production* step, however, was successful [on the `main` run](https://forgejo.ellis.link/continuwuation/continuwuity/actions/runs/28584/jobs/0/attempt/1).
Member

I'll open a PR shortly to refine the conditional used for the preview step, so that it doesn't try to run on release tags.

I'll open a PR shortly to refine the conditional used for the preview step, so that it doesn't try to run on release tags.
Jade closed this issue 2026-12-01 16:32:42 +00:00
Sign in to join this conversation.
No milestone
No assignees
4 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
continuwuation/continuwuity#2624
No description provided.