Website/README.md

1.5 KiB

rastus01.com

Statische persoenliche Landingpage fuer rastus01.com.

Die Seite dient aktuell als einfache Selfhosting-Startseite und stellt die Matrix-Discovery-Dateien unter .well-known/matrix/ bereit.

Inhalt

  • Dunkle, responsive Landingpage ohne externe Frameworks
  • Klassische statische Dateien: index.html, style.css, script.js
  • Matrix Homeserver Discovery:
    • /.well-known/matrix/server aus .well-known/matrix/server.json
    • /.well-known/matrix/client aus .well-known/matrix/client.json
  • Dockerfile fuer eine einfache Nginx-Auslieferung

Matrix

/.well-known/matrix/server

{"m.server":"matrix.rastus01.com:443"}

/.well-known/matrix/client

{"m.homeserver":{"base_url":"https://matrix.rastus01.com"}}

Die Dateien liegen im Repository mit .json-Dateiendung. Nginx liefert die Matrix-Discovery-Endpunkte weiterhin ohne .json aus, damit Clients die standardisierten URLs finden.

Lokal mit Docker

Image bauen:

docker build -t rastus01-static-site .

Container starten:

docker run --rm -p 8080:80 rastus01-static-site

Danach ist die Seite unter http://localhost:8080 erreichbar.

Coolify

Das Repository kann in Coolify als Dockerfile-basierter Service deployed werden.

  • Build-Methode: Dockerfile
  • Exposed Port: 80
  • Kein Build-Command noetig
  • Kein Start-Command noetig

Die nginx.conf setzt fuer die Matrix .well-known-Dateien den Content-Type application/json und CORS-Header.