Appearance
Routing
Overview
You use static routing features like redirects, rewrites in let.sh.
Rules
Priority order of let.sh edges routing responses:
- Reserved path that begins with a
/__/*
and/.well-known/acme-challenge/*
for certificate challange - Configured redirects (e.g. via
let.json
) - Exact-match static content
- Configured rewrites (e.g. via
let.json
) - Serverless service, default to match all routes
- Custom 404 page, default to use
404.html
if404.html
exists (deployments do not contains dynamic service) - Default 404 page (deployments do not contains dynamic service)