Files
signalledger.nl/k8s/ingress.yaml
T
claw 16cad3fe36
Build and Deploy / build-and-test (push) Failing after 28s
Build and Deploy / build-image (push) Has been skipped
Build and Deploy / deploy (push) Has been skipped
feat: integrate WebP/AVIF image optimization into build pipeline
- Add sharp dependency for image format conversion
- Generate WebP (quality 80) and AVIF (quality 70) variants for all raster images
- Render <picture> elements with srcset fallbacks (AVIF > WebP > original)
- SVG images remain as <img> without picture wrapper
- Update Dockerfile to install libvips for sharp, copy from public/ dir
- Add nginx cache rules for .webp and .avif files
- Add .gitignore for node_modules, public, dist
2026-05-31 16:21:03 +00:00

52 lines
1.3 KiB
YAML

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: news-site
namespace: openclaw-private
labels:
app.kubernetes.io/name: signalledger
app.kubernetes.io/component: frontend
app.kubernetes.io/part-of: signalledger
annotations:
cert-manager.io/cluster-issuer: "letsencrypt-prod"
traefik.ingress.kubernetes.io/router.entrypoints: websecure
traefik.ingress.kubernetes.io/router.tls: "true"
spec:
ingressClassName: traefik
tls:
- hosts:
- signalledger.nl
- www.signalledger.nl
secretName: signalledger-tls
rules:
- host: signalledger.nl
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: news-site
port:
number: 80
- host: www.signalledger.nl
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: news-site
port:
number: 80
- host: news.claw.jopdorp.nl
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: news-site
port:
number: 80