From 4a95350c72d1bcc459b1c515ee749b0398fbcb19 Mon Sep 17 00:00:00 2001 From: Scrublord MacBad Date: Thu, 23 Apr 2026 18:52:33 +0200 Subject: [PATCH] Add beautiful HTML landing page to element-web-docs setup - Create index.html with styled setup guide and download links - Update init-container to copy index.html to nginx - Configure nginx to serve index.html as default for /docs/setup/ - Remove directory listing (autoindex), show proper HTML instead Co-Authored-By: Claude Haiku 4.5 --- .../element-web-docs-configmap.yaml | 199 ++++++++++++++++++ apps/production/element-web-docs-server.yaml | 5 +- 2 files changed, 202 insertions(+), 2 deletions(-) diff --git a/apps/production/element-web-docs-configmap.yaml b/apps/production/element-web-docs-configmap.yaml index 4a815c7..5055fa5 100644 --- a/apps/production/element-web-docs-configmap.yaml +++ b/apps/production/element-web-docs-configmap.yaml @@ -4,6 +4,205 @@ metadata: name: ess-element-web-docs namespace: matrix data: + # HTML Index Page + "index.html": | + + + + + + Element Desktop Setup - aXion1337.Chat + + + +
+

🎨 Element Desktop Setup

+

Automatische Konfiguration mit Custom Themes für aXion1337.Chat

+ +
+

📥 Download Setup-Script

+ + +
+ Anleitung:

+ 🪟 Windows: Datei herunterladen → Doppelklick → Script läuft automatisch

+ 🍎 macOS: Datei herunterladen → Doppelklick im Finder → Script läuft automatisch

+ 🐧 Linux:
+ chmod +x element-setup-linux.sh
+ ./element-setup-linux.sh +
+
+ +
+

🎨 Verfügbare Themes

+
+

Automatisch geladen in Element:

+
+
aXion1337 Dark
+
Deep Purple
+
Discord Dark
+
Electric Blue
+
Everforest dark hard
+
Gruvbox Dark
+
Wal
+
+
+
+ +
+

❓ Support

+

Für weitere Hilfe besuche: element.io/help

+
+ +
+

Element wird automatisch installiert und konfiguriert.
+ Bei Fragen oder Problemen: Element Support

+
+
+ + + # README "README-Element-Setup.md": | # Element Desktop Setup Scripts diff --git a/apps/production/element-web-docs-server.yaml b/apps/production/element-web-docs-server.yaml index 10a0295..e5c4971 100644 --- a/apps/production/element-web-docs-server.yaml +++ b/apps/production/element-web-docs-server.yaml @@ -20,6 +20,7 @@ spec: args: - | mkdir -p /html/docs/setup + cp /config/index.html /html/docs/setup/ cp /config/README-Element-Setup.md /html/docs/setup/ cp /config/element-setup-windows.cmd /html/docs/setup/ cp /config/element-setup-macos.command /html/docs/setup/ @@ -81,8 +82,8 @@ data: root /usr/share/nginx/html; location /docs/setup/ { - autoindex on; - add_header Content-Type application/octet-stream; + index index.html; + try_files $uri $uri/ =404; } location / {