Project updates from Template #1

Merged
javier merged 123 commits from project/update-from-template into main 2026-09-04 13:40:36 +00:00
Showing only changes of commit c0f56a4897 - Show all commits
+5
View File
@@ -138,6 +138,11 @@ Redirecting collapses the `http://` and `https://` copies of every page onto one
`docker-compose.yml` enables it for production; `docker-compose.override.yml` pins it off for local development. `docker-compose.yml` enables it for production; `docker-compose.override.yml` pins it off for local development.
Trailing slashes are canonicalized separately and unconditionally, with no configuration key: the router matches `/mr-rock` and `/mr-rock/` alike, so
every `GET`/`HEAD` whose path ends in a slash is answered with a `301` to the form without one (`//` collapses to `/`; `/` is left alone). The
`Location` is relative, so it keeps the request's own scheme and host. Other methods pass through, since a client may repeat a redirected `POST` as a
`GET` and drop the body.
### Logging ### Logging
| Config key | Environment variable | Default | Description | | Config key | Environment variable | Default | Description |
| --- | --- | --- | --- | | --- | --- | --- | --- |