Add a nicer 404 page #10
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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?
Currently it's a not-very-handsome default web server page:
At the very least, it'd be nice if it linked back to the index page.
Ah, on my local I see:
This has to do with the fact we're doing this
e784833b71/Dockerfile (L13)
.We should most likely add an Nginx to proxy it in https://git.autonomic.zone/coop-cloud/docs.coopcloud.tech/src/branch/main/compose.yml but I am too lazy now.
@knoflook once you have a web proxy wired up (you can copy/pasta stuff the approach from
d6f1de31bf/compose.yml (L5-L25)
I guess) you can tell it to point to themkdocs
generated 404 pages that are built-in, see https://www.mkdocs.org/user-guide/deploying-your-docs/#404-pages for more.@knoflook and here is another example of a stack using a proxy
04408f007a/compose.yml (L3-L34)
(the trick being that the Nginx proxy is the entrypoint for traefik (uses the labels and theproxy
network) and then passes requests down the the other apps, in this case,mkdocs
).