Files
zeekay 02f395f7f0 Serve three sites from the object store instead of a disk copy
The store is the sites plane's own bucket, one prefix per site, and the
edge reads it directly. Only the sites whose prefix already exists move;
a root that names an empty prefix answers 404, which lux.tel did, so it
stays on disk until the sites lane publishes it.
2026-09-03 17:22:42 -07:00

33 lines
722 B
YAML

# lux.shop is files: one Middleware that serves them, one route that names it,
# and the endpoint-less Service the route schema requires. No image, so the
# chart renders no Deployment -- a static site is not a pod.
cd:
automated: true
ports:
- name: http
containerPort: 80
middlewares:
- name: shop
spec:
staticFiles:
root: s3://hanzo-sites/lux/shop
spaMode: true
spaIndex: index.html
indexFiles:
- index.html
routes:
- name: shop
spec:
entryPoints:
- websecure
routes:
- match: Host(`lux.shop`) || Host(`www.lux.shop`)
kind: Rule
priority: 100
middlewares:
- name: shop
services:
- name: lux-shop
port: 80
tls: {}