feat: Add custom 404 error page with image and UTF-8 encoding

This commit is contained in:
capitano
2025-10-12 10:47:44 +02:00
parent 0193e6f4b1
commit 0814303344
3 changed files with 75 additions and 1 deletions

View File

@@ -83,9 +83,16 @@ metadata:
name: mediamtx-hls-ingress
namespace: streaming
annotations:
nginx.ingress.kubernetes.io/backend-protocol: "HTTP" # Assicurati che l'Ingress parli HTTP con il servizio HLS
nginx.ingress.kubernetes.io/backend-protocol: "HTTP"
nginx.ingress.kubernetes.io/custom-http-errors: "404"
nginx.ingress.kubernetes.io/default-backend: custom-404-service
spec:
ingressClassName: nginx
defaultBackend:
service:
name: custom-404-service
port:
number: 80
rules:
- host: tv.giaco.net
http: