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.
33 lines
746 B
YAML
33 lines
746 B
YAML
# lux.network 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: network
|
|
spec:
|
|
staticFiles:
|
|
root: s3://hanzo-sites/lux/network
|
|
spaMode: true
|
|
spaIndex: index.html
|
|
indexFiles:
|
|
- index.html
|
|
routes:
|
|
- name: network
|
|
spec:
|
|
entryPoints:
|
|
- websecure
|
|
routes:
|
|
- match: Host(`lux.network`) || Host(`www.lux.network`)
|
|
kind: Rule
|
|
priority: 100
|
|
middlewares:
|
|
- name: network
|
|
services:
|
|
- name: lux-network
|
|
port: 80
|
|
tls: {}
|