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

25
custom-404-page.yaml Normal file
View File

@@ -0,0 +1,25 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: custom-404-page
namespace: streaming
data:
index.html: |
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Stream Offline</title>
<style>
body { font-family: Arial, sans-serif; text-align: center; padding-top: 50px; background-color: #f0f0f0; }
h1 { color: #333; }
p { color: #666; }
img { max-width: 80%; height: auto; margin-top: 20px; }
</style>
</head>
<body>
<h1>Stream Offline</h1>
<p>Il flusso video non è attualmente disponibile. Riprova più tardi!</p>
<img src="https://www.animamia.net/wp-content/uploads/2015/04/sigle_tv_21.jpg" alt="Stream Offline">
</body>
</html>