home.social

#reverse-proxy — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #reverse-proxy, aggregated by home.social.

fetched live
  1. Setup and Run #PHP 8.5 on Oracle Linux #VPS (with HTTPS + Reverse Proxy)

    This articles provides a guide to setup and run PHP 8.5 on Oracle Linux VPS with secure web server and reverse proxy configured. ...
    Continued 👉 #selfhosted #opensource #oraclelinux #phpfpm #reverseproxy #selfhosting

    Setup and Run PHP 8.5 on Oracl...

  2. Setup and Run #PHP 8.5 on Oracle Linux #VPS (with HTTPS + Reverse Proxy)

    This articles provides a guide to setup and run PHP 8.5 on Oracle Linux VPS with secure web server and reverse proxy configured. ...
    Continued 👉 #selfhosted #opensource #oraclelinux #phpfpm #reverseproxy #selfhosting

    Setup and Run PHP 8.5 on Oracl...

  3. How to Deploy #Mailman Suite on #Debian #VPS for Automated Mailing List Management This article provides a detailed step-by-step guide demonstrating how to deploy Mailman Suite on Debian VPS for automated mailing list management. Mailman Suite includes Mailman Core, #Postorius (web UI), #HyperKitty (archiver), and the Mailman Web UI integration.
    What is Mailman Suite? ...
    Continued 👉 blog.radwebhosting.com/deploy- #dkim #reverseproxy #django #spf #opensource #dmarc #opendkim #selfhosted #selfhosting

  4. 🚀 Deploy #Netbird on #Debian #VPS

    This article provides a guide to deploy Netbird on Debian VPS.
    What is Netbird?
    Netbird is an open-source, WireGuard-based overlay network platform that simplifies secure, peer-to-peer connectivity between devices. It enables Zero Trust Network Access (ZTNA) without complex firewall rules or #VPN gateways, automatically connecting computers, servers, and cloud resources. ...
    Continued 👉 blog.radwebhosting.com/deploy- #wireguard #selfhosted #selfhosting #reverseproxy

  5. How to Install #Planka on #Ubuntu #VPS (5 Minute Quick-Start Guide) Here’s a step-by-step guide on how to install Planka on Ubuntu VPS using #Docker and Docker Compose.
    What is Planka?
    Planka is an open-source project management tool designed to help teams organize tasks and collaborate effectively using a Kanban-style board interface, similar to tools like Trello or Jira.
    🔧 Key Features ...
    Continued 👉 blog.radwebhosting.com/install #opensource #selfhosted #letsencrypt #reverseproxy #selfhosting

  6. Deploy #Hanko on #Debian #VPS

    This article provides a guide demonstrating how to deploy Hanko on Debian VPS.
    What is Hanko?
    Hanko is an open-source authentication and user management platform for web and mobile apps. In practical terms, it gives developers a ready-made login system instead of making them build authentication from scratch.

    It can handle things like:

    Email/password ...
    Continued 👉 blog.radwebhosting.com/deploy- #selfhosting #opensource #letsencrypt #selfhosted #reverseproxy

  7. How to Setup a Reverse #Proxy with HTTPS Using #Nginx and #Certbot (5 Minute Quick-Start Guide)

    This article outlines how to setup a reverse proxy with HTTPS using Nginx and Certbot.
    What is ...
    Continued 👉 #letsencrypt #reverseproxy #proxyserver #selfhosted #selfhosting #opensource #webserver

    How to Setup a Reverse Proxy w...

  8. How to Setup a Reverse #Proxy with HTTPS Using #Nginx and #Certbot (5 Minute Quick-Start Guide)

    This article outlines how to setup a reverse proxy with HTTPS using Nginx and Certbot.
    What is ...
    Continued 👉 #letsencrypt #reverseproxy #proxyserver #selfhosted #selfhosting #opensource #webserver

    How to Setup a Reverse Proxy w...

  9. How to Install #Planka on #Ubuntu #VPS (5 Minute Quick-Start Guide) Here’s a step-by-step guide on how to install Planka on Ubuntu VPS using #Docker and Docker Compose.
    What is Planka?
    Planka is an open-source project ...
    Continued 👉 #selfhosted #selfhosting #reverseproxy #opensource #letsencrypt

    How to Install Planka on Ubunt...

  10. How to Install #Planka on #Ubuntu #VPS (5 Minute Quick-Start Guide) Here’s a step-by-step guide on how to install Planka on Ubuntu VPS using #Docker and Docker Compose.
    What is Planka?
    Planka is an open-source project ...
    Continued 👉 #selfhosted #selfhosting #reverseproxy #opensource #letsencrypt

    How to Install Planka on Ubunt...

  11. How to Install #PinePods on #AlmaLinux #VPS
    This article provides a guide demonstrating how to install PinePods on AlmaLinux VPS using #Docker Compose, PostgreSQL, Valkey, and a host-level #Nginx ...
    Continued 👉 #podcasthosting #selfhosting #reverseproxy #selfhosted #opensource #letsencrypt

    How to Install PinePods on Alm...

  12. How to Install #PinePods on #AlmaLinux #VPS
    This article provides a guide demonstrating how to install PinePods on AlmaLinux VPS using #Docker Compose, PostgreSQL, Valkey, and a host-level #Nginx ...
    Continued 👉 #podcasthosting #selfhosting #reverseproxy #selfhosted #opensource #letsencrypt

    How to Install PinePods on Alm...

  13. How to Deploy #Invidious on #Ubuntu #VPS

    This article provides a guide demonstrating how to deploy Invidious on Ubuntu VPS.
    What is Invidious?
    Invidious is a free, open-source alternative front end for YouTube.

    It lets users browse, search, and watch YouTube content through a separate website instead of using YouTube’s official interface. Depending on the instance’s ...
    Continued 👉 blog.radwebhosting.com/deploy- #letsencrypt #reverseproxy #opensource #selfhosted #certbot #selfhosting

  14. 🚀 Deploy #Docmost on #Ubuntu #VPS
    This article provides a guide demonstrating how to deploy Docmost on Ubuntu VPS.

    What is Docmost?
    Docmost is an open-source, self-hosted collaborative wiki and documentation ...
    Continued 👉 #opensource #selfhosting #selfhosted #letsencrypt #reverseproxy

    🚀 Deploy Docmost on Ubuntu VPS

  15. 🚀 Deploy #Docmost on #Ubuntu #VPS
    This article provides a guide demonstrating how to deploy Docmost on Ubuntu VPS.

    What is Docmost?
    Docmost is an open-source, self-hosted collaborative wiki and documentation ...
    Continued 👉 #opensource #selfhosting #selfhosted #letsencrypt #reverseproxy

    🚀 Deploy Docmost on Ubuntu VPS

  16. How to Deploy Telegraf, #InfluxDB and #Grafana Stack on #Debian #VPS

    This article provides a guide demonstrating how to deploy Telegraf, InfluxDB and Grafana stack on #Debian VPS server. Commonly known as TIG, Telegraf, InfluxDB and Grafana collectively make a powerful monitoring stack on your Debian VPS server.

    With InfluxDB for data storage, #Telegraf for data collection, and Grafana for data ...
    Continued 👉 blog.radwebhosting.com/deploy- #installguide #letsencrypt #reverseproxy #vpsguide

  17. Deploy #Kubeara #PaaS on #Ubuntu #VPS

    This article provides a guide demonstrating how to deploy Kubeara PaaS on Ubuntu VPS.
    Introduction
    Kubeara is an open-source, self-hosted Platform-as-a-Service designed to deploy and ...
    Continued 👉 #selfhosted #reverseproxy #selfhosting #letsencrypt

    Deploy Kubeara PaaS on Ubuntu ...

  18. Deploy #Kubeara #PaaS on #Ubuntu #VPS

    This article provides a guide demonstrating how to deploy Kubeara PaaS on Ubuntu VPS.
    Introduction
    Kubeara is an open-source, self-hosted Platform-as-a-Service designed to deploy and ...
    Continued 👉 #selfhosted #reverseproxy #selfhosting #letsencrypt

    Deploy Kubeara PaaS on Ubuntu ...

  19. 🚀 Deploy #BookStack on #Ubuntu #VPS

    This article provides a guide to deploy BookStack on Ubuntu VPS.
    What is BookStack?
    BookStack is a free, open-source, self-hosted documentation and #wiki platform used to ...
    Continued 👉 #reverseproxy #opensource #selfhosted #selfhosting #letsencrypt

    🚀 Deploy BookStack on Ubuntu V...

  20. 🚀 Deploy #BookStack on #Ubuntu #VPS

    This article provides a guide to deploy BookStack on Ubuntu VPS.
    What is BookStack?
    BookStack is a free, open-source, self-hosted documentation and #wiki platform used to ...
    Continued 👉 #reverseproxy #opensource #selfhosted #selfhosting #letsencrypt

    🚀 Deploy BookStack on Ubuntu V...

  21. Nginx Proxy Manager: HTTP/2 wegen kritischer nginx-Lücken per Script abschalten

    Wer Nginx Proxy Manager (NPM) im Internet betreibt, sollte HTTP/2 vorerst abschalten. Hintergrund ist eine Warnung von CERT.at vom November 2026 zu kritischen Lücken in nginx. Für NPM gibt es noch kein repariertes Image. In diesem Beitrag zeige ich ein Bash-Script mit Menü, das HTTP/2 bei allen Hosts auf einmal prüft und abschaltet – und später auch wieder einschaltet.

    Worum es geht

    F5 hat vier Lücken in nginx Open Source und NGINX Plus veröffentlicht. Für uns als Reverse-Proxy-Betreiber zählen vor allem zwei:

    CVEModulBetroffen bisBehoben inCVE-2026-123007HTTP/21.30.6 / 1.31.81.30.7 / 1.31.9CVE-2026-123633HTTP/2 (mit Weiterleitung an ein Backend)1.30.6 / 1.31.81.30.7 / 1.31.9CVE-2026-121810HTTP/31.30.6 / 1.31.81.30.7 / 1.31.9CVE-2026-113425Mail-Proxy1.30.6 / 1.31.81.30.7 / 1.31.9

    Im schlimmsten Fall stürzen Worker-Prozesse ab oder der Speicher wird beschädigt. Ist ASLR aus oder wird es umgangen, ist laut F5 sogar das Ausführen von fremdem Code möglich. Die Bewertung liegt bei CVSS 8.1 (v3.1) bzw. 9.2 (v4.0). Für die HTTP/2-Lücken nennt F5 keinen Workaround.

    HTTP/3 ist in NPM normalerweise nicht aktiv, und den Mail-Proxy nutzt NPM gar nicht. Bleibt HTTP/2 – und das ist in NPM bei fast jedem Host eingeschaltet.

    Warum NPM betroffen ist

    NPM bringt kein normales nginx mit, sondern OpenResty. Das ist ein nginx-Kern, in den die Sicherheitsfixes nachträglich eingebaut werden. Die aktuellen NPM-Images laufen mit openresty/1.29.2.5. Diese Version ist vom Mai 2026 und enthält die neuen HTTP/2-Fixes noch nicht.

    Ein Image-Update hilft deshalb im Moment nicht. Erst muss OpenResty die Fixes einbauen, dann müssen die NPM-Images darauf neu gebaut werden. Wie lange das dauert, ist offen.

    Bis dahin ist der einzige wirksame Schutz, HTTP/2 auszuschalten. Dann laufen alle Verbindungen über HTTP/1.1, und die angreifbaren HTTP/2-Funktionen sind nicht mehr erreichbar. Für eine private Homelab-Nutzung ist der Geschwindigkeitsunterschied kaum spürbar.

    So arbeitet das Script

    HTTP/2 lässt sich in der NPM-Oberfläche pro Host abschalten. Bei 30 Hosts auf mehreren Servern ist das mühsam. Das Script erledigt das über die API von NPM, also über denselben Weg, den auch die Weboberfläche nutzt.

    Das hat einen Vorteil: NPM schreibt nach jeder Änderung die nginx-Konfiguration selbst neu und lädt nginx neu. Es wird nichts direkt in der Datenbank oder im Container geändert. Würde man nur die Datenbank anpassen, bliebe die alte Konfiguration aktiv.

    Macht es einen Unterschied, ob NPM im Docker läuft? Nein. Das Script spricht nur mit dem Port der Weboberfläche (meist 81). Ob das Image von jc21 oder jlesage stammt, ist egal.

    Das Script kann:

    • den HTTP/2-Status aller Proxy-, Redirection- und 404-Hosts anzeigen,
    • HTTP/2 bei allen oder bei ausgewählten Hosts abschalten,
    • vor jeder Änderung eine Sicherung anlegen (~/npm-http2-backups/),
    • HTTP/2 aus einer Sicherung wieder einschalten.

    Voraussetzungen: ein Linux-Rechner mit bash, curl und jq, der den NPM-Port erreicht, und ein NPM-Benutzer mit Admin-Rechten. Am einfachsten läuft das Script direkt auf dem Docker-Host, auf dem NPM läuft.

    Schritt für Schritt

    Alle Schritte führst du auf dem Docker-Host aus, auf dem NPM läuft, als root. Hast du mehrere NPM-Instanzen, wiederholst du die Schritte auf jedem Server.

    Schritt 1: OpenResty-Version prüfen

    Zuerst finde den Namen des NPM-Containers:

    docker ps --format '{{.Names}}\t{{.Image}}' | grep -i nginx

    Dann die Version abfragen (Containername einsetzen):

    docker exec <containername> nginx -v

    Steht dort openresty/1.29.2.5 oder älter, ist die Instanz angreifbar. Mach mit Schritt 2 weiter.

    Schritt 2: Script ablegen

    Installiere die beiden benötigten Werkzeuge:

    apt install -y curl jq

    Leg das Script (ganz unten im Beitrag) unter /root/check_http2.sh ab, zum Beispiel mit nano /root/check_http2.sh. Danach ausführbar machen:

    chmod +x /root/check_http2.sh

    Schritt 3: Script starten und anmelden

    /root/check_http2.sh

    Das Script fragt nach der NPM-Adresse. Läuft es auf demselben Host und ist die Weboberfläche auf Port 81 veröffentlicht, drückst du einfach Enter (http://127.0.0.1:81). Danach meldest du dich mit E-Mail und Passwort deines NPM-Admins an. Ist bei dir die Zwei-Faktor-Anmeldung aktiv, fragt das Script zusätzlich nach dem Code.

    Nach der Anmeldung erscheint das Menü:

    Schritt 4: Status anzeigen

    Wähle 1. Das Script listet alle Hosts mit Typ, ID, HTTP/2-Status, SSL und Domain. Darunter steht, bei wie vielen Hosts HTTP/2 aktiv ist. Bei mir waren es 25 von 30:

    Schritt 5: HTTP/2 abschalten

    Wähle 2, um HTTP/2 bei allen Hosts abzuschalten. Willst du erst einzelne Hosts testen, nimm 3 und gib die Nummern aus der Liste ein, z. B. 1 3 5.

    Das Script zeigt die betroffenen Domains und fragt nach einer Bestätigung (j). Dann legt es eine Sicherung an und ändert die Hosts nacheinander. Jeder Host bekommt ein OK oder eine Fehlermeldung.

    Schritt 6: Prüfen

    Wähle noch einmal 1. Jetzt sollte überall aus stehen und unten HTTP/2 aktiv bei 0 von 30 Hosts.

    Zusätzlich kannst du von einem beliebigen Rechner aus testen, welches Protokoll eine Domain spricht:

    curl -sI --http2 https://deine-domain.tld | head -1

    Kommt HTTP/1.1 200 (oder ein anderer Statuscode mit HTTP/1.1) zurück, ist HTTP/2 aus. Ruf danach ein paar Seiten im Browser auf, um sicherzugehen, dass alles normal lädt.

    Schritt 7: Weitere Server

    Hast du NPM auf mehreren Servern, wiederhole Schritt 1 bis 6 auf jedem davon. Mit 5 beendest du das Script.

    Wenn das Update da ist: HTTP/2 wieder einschalten

    Sobald ein NPM-Image mit repariertem OpenResty erscheint, gehst du so vor:

    1. NPM-Image aktualisieren und den Container neu erstellen (z. B. docker compose pull && docker compose up -d im Verzeichnis deines NPM-Stacks).
    2. Mit docker exec <containername> nginx -v prüfen, ob die neue OpenResty-Version läuft und laut Release-Notes die CVEs behebt.
    3. /root/check_http2.sh starten und 4 wählen.
    4. Die passende Sicherung aus ~/npm-http2-backups/ auswählen und bestätigen.

    Das Script schaltet HTTP/2 dann genau bei den Hosts wieder ein, bei denen es vorher aktiv war. Hosts, bei denen du HTTP/2 schon vorher bewusst aus hattest, bleiben aus.

    Das komplette Script

    Speichere den folgenden Inhalt als /root/check_http2.sh.

    #!/usr/bin/env bash
    # =============================================================================
    # check_http2.sh – HTTP/2 in Nginx Proxy Manager prüfen und (de)aktivieren
    #
    # Arbeitet über die NPM-API (Port der Weboberfläche, z. B. :81). NPM schreibt
    # danach die nginx-Konfiguration selbst neu und lädt nginx neu – es wird also
    # nichts im Container oder in der Datenbank direkt angefasst.
    #
    # Betrifft: Proxy Hosts, Redirection Hosts und 404 Hosts.
    # Vor jeder Änderung wird eine Sicherung angelegt (Wiederherstellung im Menü).
    #
    # Voraussetzungen: bash, curl, jq
    # =============================================================================
    set -uo pipefail
    
    TYPES=(proxy-hosts redirection-hosts dead-hosts)
    declare -A TYPE_LABEL=([proxy-hosts]="Proxy" [redirection-hosts]="Redirect" [dead-hosts]="404")
    BACKUP_DIR="${BACKUP_DIR:-$HOME/npm-http2-backups}"
    
    API=""
    TOKEN=""
    HOSTS="[]"
    HTTP_CODE=""
    BODY=""
    
    need() { command -v "$1" >/dev/null 2>&1 || { echo "Fehlt: $1  ->  apt install $1"; exit 1; }; }
    need curl
    need jq
    
    # --- API-Hilfsfunktionen ------------------------------------------------------
    call() { # call METHOD PFAD [JSON]
      local m=$1 p=$2 d=${3:-} out
      if [[ -n $d ]]; then
        out=$(curl -sS -X "$m" -H "Authorization: Bearer $TOKEN" \
              -H "Content-Type: application/json" -d "$d" -w $'\n%{http_code}' "$API$p") || return 1
      else
        out=$(curl -sS -X "$m" -H "Authorization: Bearer $TOKEN" -w $'\n%{http_code}' "$API$p") || return 1
      fi
      HTTP_CODE=${out##*$'\n'}
      BODY=${out%$'\n'*}
      [[ $HTTP_CODE == 2* ]]
    }
    
    err_msg() { jq -r '.error.message // .' <<<"$BODY" 2>/dev/null || echo "$BODY"; }
    
    # --- Anmeldung ----------------------------------------------------------------
    login() {
      local url m user pw resp="" code challenge
      read -rp "NPM-Adresse [http://127.0.0.1:81]: " url
      url=${url:-http://127.0.0.1:81}
      API="${url%/}/api"
    
      echo "  1) Anmelden mit E-Mail und Passwort"
      echo "  2) Vorhandenen API-Token einfügen"
      read -rp "Auswahl [1]: " m
      if [[ ${m:-1} == 2 ]]; then
        read -rsp "Token: " TOKEN; echo
      else
        read -rp "E-Mail: " user
        read -rsp "Passwort: " pw; echo
        resp=$(curl -sS -X POST -H "Content-Type: application/json" \
          -d "$(jq -n --arg i "$user" --arg s "$pw" '{identity:$i, secret:$s}')" "$API/tokens")
        TOKEN=$(jq -r '.token // empty' <<<"$resp" 2>/dev/null)
    
        # Zwei-Faktor-Anmeldung (NPM >= 2.13.6). Falls das bei deiner Version
        # anders läuft: Option 2 (Token einfügen) verwenden.
        if [[ -z $TOKEN ]] && jq -e '.requires_2fa // false' <<<"$resp" >/dev/null 2>&1; then
          challenge=$(jq -r '.challenge_token // empty' <<<"$resp")
          read -rp "2FA-Code: " code
          resp=$(curl -sS -X POST -H "Content-Type: application/json" \
            -d "$(jq -n --arg c "$challenge" --arg k "$code" '{challenge_token:$c, code:$k}')" "$API/tokens/2fa")
          TOKEN=$(jq -r '.token // empty' <<<"$resp" 2>/dev/null)
        fi
      fi
    
      if [[ -z $TOKEN ]] || ! call GET /users/me; then
        echo "Anmeldung fehlgeschlagen. Antwort: ${resp:-$BODY}"
        exit 1
      fi
      echo "Angemeldet als: $(jq -r '.email // .name' <<<"$BODY")"
    }
    
    # --- Hosts laden und anzeigen -------------------------------------------------
    load_hosts() {
      HOSTS="[]"
      local t
      for t in "${TYPES[@]}"; do
        if ! call GET "/nginx/$t"; then
          echo "Fehler beim Laden von $t ($HTTP_CODE): $(err_msg)"
          continue
        fi
        HOSTS=$(jq --arg t "$t" --argjson h "$HOSTS" '
          $h + [ .[] | {
            type: $t,
            id: .id,
            domains: (.domain_names | join(", ")),
            http2: (.http2_support == true or .http2_support == 1),
            ssl: ((.certificate_id // 0) != 0),
            enabled: (.enabled == true or .enabled == 1)
          } ]' <<<"$BODY")
      done
    }
    
    show() {
      load_hosts
      echo
      printf '%-4s %-9s %-5s %-7s %-5s %-7s %s\n' Nr Typ ID HTTP/2 SSL Aktiv Domains
      printf '%s\n' "-------------------------------------------------------------------------------"
      jq -r 'to_entries[] | [
          (.key + 1),
          .value.type,
          .value.id,
          (if .value.http2 then "AN" else "aus" end),
          (if .value.ssl then "ja" else "nein" end),
          (if .value.enabled then "ja" else "nein" end),
          .value.domains ] | @tsv' <<<"$HOSTS" |
      while IFS=$'\t' read -r n t id h s e d; do
        printf '%-4s %-9s %-5s %-7s %-5s %-7s %s\n' "$n" "${TYPE_LABEL[$t]}" "$id" "$h" "$s" "$e" "$d"
      done
      echo
      echo "HTTP/2 aktiv bei $(jq '[.[] | select(.http2)] | length' <<<"$HOSTS") von $(jq 'length' <<<"$HOSTS") Hosts."
      echo "(HTTP/2 wirkt nur bei Hosts mit SSL – abgeschaltet wird trotzdem überall.)"
    }
    
    # --- Ändern -------------------------------------------------------------------
    backup() { # backup JSON-LISTE
      mkdir -p "$BACKUP_DIR"
      local f="$BACKUP_DIR/http2-$(date +%Y%m%d-%H%M%S).json"
      jq --arg api "$API" '{api: $api, hosts: [ .[] | {type, id, domains} ]}' <<<"$1" > "$f"
      echo "Sicherung angelegt: $f"
    }
    
    apply_list() { # apply_list JSON-LISTE true|false
      local list=$1 val=$2 t id d ok=0 fail=0
      while IFS=$'\t' read -r t id d; do
        if call PUT "/nginx/$t/$id" "{\"http2_support\": $val}"; then
          echo "  OK     [${TYPE_LABEL[$t]} $id] $d"; ok=$((ok + 1))
        else
          echo "  FEHLER [${TYPE_LABEL[$t]} $id] $d  ($HTTP_CODE): $(err_msg)"; fail=$((fail + 1))
        fi
      done < <(jq -r '.[] | [.type, .id, .domains] | @tsv' <<<"$list")
      echo "Fertig: $ok geändert, $fail Fehler."
    }
    
    confirm() { local a; read -rp "$1 [j/N]: " a; [[ $a == [jJyY]* ]]; }
    
    disable_all() {
      load_hosts
      local list
      list=$(jq '[ .[] | select(.http2) ]' <<<"$HOSTS")
      if [[ $(jq 'length' <<<"$list") -eq 0 ]]; then echo "Bei keinem Host ist HTTP/2 aktiv."; return; fi
      echo "HTTP/2 wird bei diesen Hosts abgeschaltet:"
      jq -r '.[] | "  - " + .domains' <<<"$list"
      confirm "Fortfahren?" || return
      backup "$list"
      apply_list "$list" false
    }
    
    disable_some() {
      show
      local nums list
      read -rp "Nummern der Hosts (mit Leerzeichen getrennt, z. B. 1 3 5): " nums
      [[ -z $nums ]] && return
      list=$(jq --arg n "$nums" '
        ($n | split(" ") | map(select(length > 0) | tonumber - 1)) as $idx
        | [ to_entries[] | select(.key as $k | $idx | index($k)) | .value | select(.http2) ]' <<<"$HOSTS") \
        || { echo "Ungültige Eingabe."; return; }
      if [[ $(jq 'length' <<<"$list") -eq 0 ]]; then echo "Bei den gewählten Hosts ist HTTP/2 nicht aktiv."; return; fi
      echo "HTTP/2 wird bei diesen Hosts abgeschaltet:"
      jq -r '.[] | "  - " + .domains' <<<"$list"
      confirm "Fortfahren?" || return
      backup "$list"
      apply_list "$list" false
    }
    
    restore() {
      shopt -s nullglob
      local files=("$BACKUP_DIR"/http2-*.json) f
      shopt -u nullglob
      if [[ ${#files[@]} -eq 0 ]]; then echo "Keine Sicherungen in $BACKUP_DIR."; return; fi
      echo "HTTP/2 wieder einschalten – Sicherung wählen:"
      select f in "${files[@]}" "Abbrechen"; do
        [[ $f == "Abbrechen" || -z $f ]] && return
        break
      done
      if [[ $(jq -r '.api' "$f") != "$API" ]]; then
        echo "Achtung: Sicherung stammt von $(jq -r '.api' "$f"), angemeldet bist du an $API."
        confirm "Trotzdem verwenden?" || return
      fi
      jq -r '.hosts[] | "  - " + .domains' "$f"
      confirm "HTTP/2 bei diesen Hosts wieder einschalten?" || return
      apply_list "$(jq '.hosts' "$f")" true
    }
    
    # --- Hauptmenü ----------------------------------------------------------------
    login
    while true; do
      echo
      echo "=========== NPM HTTP/2 ($API) ==========="
      echo "  1) Status anzeigen"
      echo "  2) HTTP/2 bei ALLEN Hosts abschalten"
      echo "  3) HTTP/2 bei ausgewählten Hosts abschalten"
      echo "  4) HTTP/2 aus Sicherung wieder einschalten"
      echo "  5) Beenden"
      read -rp "Auswahl: " c
      case $c in
        1) show ;;
        2) disable_all ;;
        3) disable_some ;;
        4) restore ;;
        5|q) exit 0 ;;
        *) echo "Ungültige Auswahl." ;;
      esac
    done

    Fazit

    Mit dem Script ist HTTP/2 auf allen NPM-Instanzen in wenigen Minuten aus, und die Sicherung macht das Zurückschalten genauso schnell. Behalte die Release-Notes von OpenResty und Nginx Proxy Manager im Blick: Sobald ein Image mit den Fixes erscheint, aktualisieren und HTTP/2 wieder einschalten.

    Quellen

    PDF | Print | eMail #BashScript #CERTAt #CVE2026113425 #CVE2026121810 #CVE2026123007 #CVE2026123633 #docker #homelab #http2 #linux #nginx #NginxProxyManager #openrestry #ReverseProxy #selfhosting #Sicherheitslücke
  22. 🚀 Deploy #Claude Code on #Ubuntu #VPS
    This article demonstrates how to deploy Claude Code on Ubuntu VPS.

    What is Claude Code?
    Claude Code refers to using Claude (Anthropic’s AI model family) as a development assistant for writing, reviewing, refactoring, and reasoning about code — typically through an API-driven backend, CLI tool, IDE integration, or internal tooling ...
    Continued 👉 blog.radwebhosting.com/deploy- #anthropic #nodejs #reverseproxy #selfhosted #letsencrypt #selfhosting #claudecode

  23. 🚀 How to Deploy #Keycloak on #Ubuntu #VPS (5 Minute Quick-Start Guide)

    Here’s a clear and detailed how-to guide for how to deploy Keycloak on Ubuntu VPS. This guide uses Keycloak in ...
    Continued 👉 #reverseproxy #opensource #identitymanagement #selfhosted #selfhosting #letsencrypt #openjdk

    🚀 How to Deploy Keycloak on Ub...

  24. 🚀 How to Deploy #Keycloak on #Ubuntu #VPS (5 Minute Quick-Start Guide)

    Here’s a clear and detailed how-to guide for how to deploy Keycloak on Ubuntu VPS. This guide uses Keycloak in ...
    Continued 👉 #reverseproxy #opensource #identitymanagement #selfhosted #selfhosting #letsencrypt #openjdk

    🚀 How to Deploy Keycloak on Ub...

  25. 🚀 How to Deploy Cosmos Cloud on #Ubuntu #VPS

    This article provides a guide to deploy Cosmos Cloud on Ubuntu VPS.
    What is Cosmos Cloud?
    Cosmos Cloud is a self-hosted platform-as-a-service (PaaS) that lets you deploy, ...
    Continued 👉 #selfhosting #cosmoscloud #ufw #reverseproxy #selfhosted

    🚀 How to Deploy Cosmos Cloud o...

  26. 🚀 Deploy #Zabbix Multi-Node #Monitoring System on #AlmaLinux #VPS (10 Minute Quick-Start Guide)

    This article provides a guide demonstrating how to deploy Zabbix multi-node monitoring system on AlmaLinux VPS.
    What is Zabbix?
    Zabbix is a free, open-source IT infrastructure monitoring software that collects, analyzes, and visualizes data from networks, servers, virtual machines, cloud services, ...
    Continued 👉 blog.radwebhosting.com/deploy- #opensource #letsencrypt #selfhosted #reverseproxy #selfhosting

  27. Install #Authentik IdP on #Debian #VPS (10 Minute Quick-Start Guide) This article provides a guide to install Authentik IdP on #Debian VPS.
    What is Authentik?
    Authentik is an open-source Identity Provider (IdP) designed to handle authentication and authorization for applications and users. It offers centralized identity management and is highly ...
    Continued 👉 blog.radwebhosting.com/install #selfhosted #vpsguide #installguide #identitymanagement #letsencrypt #selfhosting #opensource #reverseproxy

  28. littleFedi: reverse proxy and split domains

    littleFedi can use one domain for account handles and another for the server. For example:

    • @[email protected] is the address people follow.
    • https://social.example.com serves the web interface, API, media and ActivityPub objects.

    You can keep your existing website on example.com. It only needs a rule that redirects WebFinger requests to the littleFedi domain.

    Choose both domains before creating accounts. Changing them later changes the instance’s identity.

    littleFedi configuration

    In littlefedi.toml, with the reverse proxy running on the same machine:

    local_domain = "example.com"
    web_domain = "social.example.com"
    
    [http]
    listen = "127.0.0.1:8080"
    proxy_uri = "https://social.example.com"
    trusted_proxies = ["127.0.0.1/32"]
    

    If you already have an [http] section, edit it rather than adding another.

    Point the DNS records for social.example.com at the reverse proxy. The server hosting example.com must also serve HTTPS. A DNS alias alone does not replace the WebFinger redirect.

    Expose ports 80 and 443 on the proxy and keep port 8080 private. If the proxy runs on another machine, use a private listener address and trust only the proxy’s address.

    Caddy

    Add this to your Caddyfile, replacing the example domains:

    social.example.com {
        reverse_proxy 127.0.0.1:8080
    }
    
    example.com {
        redir /.well-known/webfinger https://social.example.com{uri} 302
    }
    

    Caddy handles certificates and the WebSocket connections used for streaming.

    If example.com already has a site block, add only the redir line to that block and keep the existing website configuration.

    Check the configuration before reloading Caddy:

    caddy validate --config /etc/caddy/Caddyfile
    

    nginx

    This configuration belongs in nginx’s http context, usually through an included site file. Replace the domains and certificate paths with your own.

    Install valid certificates and arrange automatic renewal before enabling the HTTPS servers.

    map $http_upgrade $connection_upgrade {
        default upgrade;
        '' close;
    }
    
    server {
        listen 80;
        listen [::]:80;
        server_name example.com social.example.com;
        return 308 https://$host$request_uri;
    }
    
    server {
        listen 443 ssl;
        listen [::]:443 ssl;
        server_name social.example.com;
    
        ssl_certificate /etc/letsencrypt/live/social.example.com/fullchain.pem;
        ssl_certificate_key /etc/letsencrypt/live/social.example.com/privkey.pem;
        client_max_body_size 41m;
    
        location / {
            proxy_pass http://127.0.0.1:8080;
            proxy_http_version 1.1;
            proxy_set_header Host $host;
            proxy_set_header X-Forwarded-Host $host;
            proxy_set_header X-Forwarded-Proto $scheme;
            proxy_set_header X-Forwarded-For $remote_addr;
            proxy_set_header Upgrade $http_upgrade;
            proxy_set_header Connection $connection_upgrade;
            proxy_read_timeout 1h;
            proxy_buffering off;
        }
    }
    
    server {
        listen 443 ssl;
        listen [::]:443 ssl;
        server_name example.com;
    
        ssl_certificate /etc/letsencrypt/live/example.com/fullchain.pem;
        ssl_certificate_key /etc/letsencrypt/live/example.com/privkey.pem;
    
        location = /.well-known/webfinger {
            return 302 https://social.example.com$request_uri;
        }
    
        location / {
            return 404;
        }
    }
    

    If example.com already hosts a website, add only the WebFinger location to its existing HTTPS server block. Keep the website’s other rules instead of the return 404 shown above. If you already have the same map directive, do not add it twice.

    Check the configuration before reloading nginx:

    nginx -t
    

    Check discovery

    Use an existing local account, replacing alice with its username:

    curl --fail -i 'https://example.com/.well-known/webfinger?resource=acct:[email protected]'
    

    The response should redirect to social.example.com, keeping the resource query parameter.

    Then follow the redirect:

    curl --fail -L 'https://example.com/.well-known/webfinger?resource=acct:[email protected]'
    

    The JSON should contain acct:[email protected] as its subject, with an ActivityPub actor link at https://social.example.com/users/alice.

    Finally, check a follow in both directions with another instance.

    If account handles and the server use the same domain, only the reverse proxy is needed.

    #littleFedi #SelfHosting #ReverseProxy #nginx #caddy

  29. 🚀 Deploy #Docmost on #Ubuntu #VPS
    This article provides a guide demonstrating how to deploy Docmost on Ubuntu VPS.

    What is Docmost?
    Docmost is an open-source, self-hosted collaborative wiki and documentation platform. In practical terms, it is software you can run on your own VPS or server to create an internal knowledge base, company wiki, SOP library, project documentation site, or team ...
    Continued 👉 blog.radwebhosting.com/deploy- #opensource #selfhosting #letsencrypt #reverseproxy #selfhosted

  30. How to Install Uptime Kuma on #Debian #VPS (5 Minute Quick-Start Guide) Here’s how to install Uptime Kuma on Debian VPS—the fastest and cleanest way to deploy it.
    What is Uptime Kuma?
    Uptime ...
    Continued 👉 #selfhosting #letsencrypt #opensource #uptimekuma #selfhosted #observability #reverseproxy

    How to Install Uptime Kuma on ...

  31. How to Install Uptime Kuma on #Debian #VPS (5 Minute Quick-Start Guide) Here’s how to install Uptime Kuma on Debian VPS—the fastest and cleanest way to deploy it.
    What is Uptime Kuma?
    Uptime ...
    Continued 👉 #selfhosting #letsencrypt #opensource #uptimekuma #selfhosted #observability #reverseproxy

    How to Install Uptime Kuma on ...

  32. 7 Steps to Easily Configure #OpenLiteSpeed as a Reverse #Proxy for #Metabase

    This article provides a guide to configure OpenLiteSpeed as a reverse proxy for Metabase.
    What ...
    Continued 👉 #reverseproxy #debian #jre #selfhosting #vps #proxyserver #openjdk #letsencrypt #installguide #selfhosted

    7 Steps to Easily Configure Op...

  33. 7 Steps to Easily Configure #OpenLiteSpeed as a Reverse #Proxy for #Metabase

    This article provides a guide to configure OpenLiteSpeed as a reverse proxy for Metabase.
    What ...
    Continued 👉 #reverseproxy #debian #jre #selfhosting #vps #proxyserver #openjdk #letsencrypt #installguide #selfhosted

    7 Steps to Easily Configure Op...

  34. How to Install #Coroot on #Ubuntu #VPS Here's a detailed step-by-step guide demonstrating how to install Coroot on Ubuntu VPS.

    What is Coroot?
    Coroot is an open-source observability tool that helps you monitor and ...
    Continued 👉 #letsencrypt #selfhosted #opensource #selfhosting #reverseproxy

    How to Install Coroot on Ubunt...

  35. 🚀 Deploy Elastic Stack on #Ubuntu #VPS (5 Minute Quick-Start Guide)

    Here’s the guide to deploy Elastic Stack on Ubuntu VPS, with secure access, HTTPS proxying, and service optimization.
    What is Elastic Stack?
    Also known as ELK Stack, the Elastic Stack is a collection of tools for securely taking data from any source and format to search, analyze, and visualize it. The core components ...
    Continued 👉 blog.radwebhosting.com/deploy- #selfhosted #reverseproxy #letsencrypt #selfhosting #opensource

  36. How to Setup a Load-Balanced #Apache Cluster (6 Step Quick-Start Guide)

    This article details how to setup a load-balanced Apache cluster.

    A load-balanced Apache cluster allows you to distribute incoming web traffic ...
    Continued 👉 #ubuntu #vps #loadbalancing #reverseproxy #loadbalancer

    How to Setup a Load-Balanced A...

  37. 🚀 Deploy #Zabbix Multi-Node #Monitoring System on #AlmaLinux #VPS (10 Minute Quick-Start Guide)

    This article provides a guide demonstrating how to deploy Zabbix multi-node monitoring system on AlmaLinux VPS.
    What ...
    Continued 👉 #opensource #selfhosting #letsencrypt #reverseproxy #selfhosted

    🚀 Deploy Zabbix Multi-Node Mon...

  38. Setup and Run #PHP 8.5 on Oracle Linux #VPS (with HTTPS + Reverse Proxy)

    This articles provides a guide to setup and run PHP 8.5 on Oracle Linux VPS with secure web server and reverse proxy configured.

    PHP 8.5 introduces powerful new language features including the Pipe Operator, URI extension, Clone-With syntax, new array helpers, safer attributes, and major performance ...
    Continued 👉 blog.radwebhosting.com/setup-a #selfhosted #selfhosting #opensource #oraclelinux #phpfpm #reverseproxy

  39. 3 Easy Steps to Integrate Monitoring Tools for #Apache Reverse #Proxy Server

    This article provides a step-by-step guide to integrate monitoring tools for Apache reverse proxy server. Integrating monitoring tools with your Apache reverse proxy server setup allows you to track performance, detect issues, and optimize your infrastructure efficiently.
    How to Integrate Monitoring Tools for Apache ...
    Continued 👉 blog.radwebhosting.com/monitor #opensource #selfhosting #proxyserver #reverseproxy #selfhosted

  40. 🚀 How to Install and Run #Netdata on #AlmaLinux #VPS (5 Minute Quick-Start Guide)

    This article provides a step-by-step guide detailing how to install and run Netdata on AlmaLinux VPS—a powerful, real-time performance #monitoring tool for systems and applications.
    ✅ What is Netdata?
    Netdata is an open-source monitoring agent that provides real-time performance metrics for ...
    Continued 👉 blog.radwebhosting.com/install #opensource #observability #letsencrypt #selfhosting #selfhosted #reverseproxy

  41. How to Install #Coroot on #Ubuntu #VPS Here's a detailed step-by-step guide demonstrating how to install Coroot on Ubuntu VPS.

    What is Coroot?
    Coroot is an open-source observability tool that helps you monitor and troubleshoot your applications using eBPF. It provides deep insights into service dependencies, performance bottlenecks, and anomalies in real-time.
    Prerequisites
    Before you begin: ...
    Continued 👉 blog.radwebhosting.com/install #reverseproxy #letsencrypt #opensource #selfhosting #selfhosted

  42. 🚀 How to Deploy #XWiki on #Debian #VPS

    This article provides a guide demonstrating how to deploy XWiki on Debian VPS.
    What is XWiki?
    XWiki is a free, open-source enterprise #wiki and application development platform written in Java. Unlike traditional wikis that only let you store text and documents, XWiki is a "second-generation" wiki. It allows you to build small, structured web ...
    Continued 👉 blog.radwebhosting.com/deploy- #opensource #reverseproxy #selfhosting #selfhosted #letsencrypt

  43. How to Install #PinePods on #AlmaLinux #VPS
    This article provides a guide demonstrating how to install PinePods on AlmaLinux VPS using #Docker Compose, PostgreSQL, Valkey, and a host-level #Nginx reverse proxy with Let’s Encrypt SSL.

    What is PinePods?
    PinePods is a self-hosted, open-source #podcast management system. In simple terms, it lets you run your own private podcast ...
    Continued 👉 blog.radwebhosting.com/install #letsencrypt #opensource #podcasthosting #selfhosting #selfhosted #reverseproxy

  44. How to Deploy #Invidious on #Ubuntu #VPS

    This article provides a guide demonstrating how to deploy Invidious on Ubuntu VPS.
    What is Invidious?
    Invidious is a free, open-source alternative front end for YouTube.

    It lets users browse, search, and watch YouTube content through a separate website instead of using YouTube’s official interface. Depending on the instance’s ...
    Continued 👉 blog.radwebhosting.com/deploy- #opensource #reverseproxy #selfhosted #selfhosting #letsencrypt #certbot

  45. 🚀 Deploy #Claude Code on #Ubuntu #VPS
    This article demonstrates how to deploy Claude Code on Ubuntu VPS.

    What is Claude Code?
    Claude Code refers to using Claude (Anthropic’s AI model family) as ...
    Continued 👉 #anthropic #nodejs #selfhosted #letsencrypt #claudecode #selfhosting #reverseproxy

    🚀 Deploy Claude Code on Ubuntu...

  46. 🚀 How to Deploy #Supabase on #AlmaLinux #VPS (Production-Ready Guide)

    This guide walks through the steps required to deploy Supabase on AlmaLinux VPS using #Docker and Docker Compose, following a ...
    Continued 👉 #reverseproxy #letsencrypt #selfhosting #database #selfhosted #opensource

    🚀 How to Deploy Supabase on Al...

  47. How to Deploy #Mailman Suite on #Debian #VPS for Automated Mailing List Management This article provides a detailed step-by-step guide demonstrating how to deploy Mailman Suite on Debian VPS for ...
    Continued 👉 #dmarc #dkim #reverseproxy #selfhosting #selfhosted #django #opensource #opendkim #spf

    How to Deploy Mailman Suite on...

  48. How to Install and Configure #HAProxy on Oracle Linux #VPS Servers

    This article provides a guide for how to install and configure HAProxy on Oracle Linux VPS servers.
    What is HAProxy?
    HAProxy (High Availability Proxy) is ...
    Continued 👉 #oraclelinux #loadbalancer #loadbalancing #reverseproxy

    How to Install and Configure H...

  49. 🚀 How to Deploy #XWiki on #Debian #VPS

    This article provides a guide demonstrating how to deploy XWiki on Debian VPS.
    What is XWiki?
    XWiki is a free, open-source enterprise #wiki and application development ...
    Continued 👉 #reverseproxy #letsencrypt #selfhosted #opensource #selfhosting

    🚀 How to Deploy XWiki on Debia...

  50. 🚀 How to Deploy Cosmos Cloud on #Ubuntu #VPS

    This article provides a guide to deploy Cosmos Cloud on Ubuntu VPS.
    What is Cosmos Cloud?
    Cosmos Cloud is a self-hosted platform-as-a-service (PaaS) that lets you deploy, ...
    Continued 👉 #cosmoscloud #selfhosted #reverseproxy #ufw #selfhosting

    🚀 How to Deploy Cosmos Cloud o...

  51. How to Setup a Load-Balanced #Apache Cluster (6 Step Quick-Start Guide)

    This article details how to setup a load-balanced Apache cluster.

    A load-balanced Apache cluster allows you to distribute incoming web traffic ...
    Continued 👉 #loadbalancer #loadbalancing #reverseproxy #vps #ubuntu

    How to Setup a Load-Balanced A...

  52. How to Deploy Telegraf, #InfluxDB and #Grafana Stack on #Debian #VPS

    This article provides a guide demonstrating how to deploy Telegraf, InfluxDB and Grafana stack on #Debian VPS server. Commonly known as TIG, Telegraf, InfluxDB ...
    Continued 👉 #letsencrypt #reverseproxy #vpsguide #installguide

    How to Deploy Telegraf, Influx...

Share on Mastodon

Enter the server where you have an account.