Files

33 lines
714 B
YAML

# zoo.cloud 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: cloud
spec:
staticFiles:
root: /var/www/cloud
spaMode: true
spaIndex: index.html
indexFiles:
- index.html
routes:
- name: cloud
spec:
entryPoints:
- websecure
routes:
- match: Host(`zoo.cloud`) || Host(`www.zoo.cloud`)
kind: Rule
priority: 100
middlewares:
- name: cloud
services:
- name: cloud
port: 80
tls: {}