index index.php index.html index.htm;

apt update && apt upgrade -y apt install -y curl git ufw

You must confirm your installation is rock solid.

sudo chown -R www-data:www-data /var/www/nextcloud

Installing is a key step for Nextcloud 32+ users who want to run External Apps (ExApps) —like Nextcloud Assistant or high-performance backends—more efficiently. It replaces the older Docker Socket Proxy (DSP) to allow direct communication between clients and apps, supporting real-time features like WebSockets without overloading the PHP stack. Prerequisites & Setup Overview

By using HaRP, ExApps can communicate directly with clients via WebSockets, bypassing the main Nextcloud PHP stack to significantly reduce latency and improve performance for real-time features like AI chats or document indexing. Prerequisites Before beginning the installation, ensure you have: