Choose the or HaRP Proxy (Docker) template. Fill in the details: Host : Use localhost:8780 if HaRP is on the same machine. FRP Server Address : Typically localhost:8782 . Shared Key : Must match the HP_SHARED_KEY set in Step 1. Click Check Connection and then Register . Step 3: Configure Your Main Reverse Proxy
docker run -d \ --name appapi-harp \ --network host \ -e HP_SHARED_KEY="your_secure_password" \ -e NC_INSTANCE_URL="https://nextcloud.url" \ -e HP_TRUSTED_PROXY_IPS="172.18.0.0/16,127.0.0.1" \ -v /var/run/docker.sock:/var/run/docker.sock \ ghcr.io/nextcloud/harp:latest Use code with caution.
Complete Guide to Installing HaRP for Nextcloud AppAPI (Nextcloud AppAPI HaProxy Reverse Proxy) is the next-generation proxy system designed to simplify the deployment of External Apps (ExApps) in Nextcloud 32 and later . It replaces the older Docker Socket Proxy (DSP) method, which is slated for deprecation in Nextcloud 35. harp nextcloud install
: On the remote machine, create a frpc.toml file pointing to your HaRP server's address on port 8782.
Once the container is running, you must tell Nextcloud how to find it. Navigate to > AppAPI . Click Register Daemon . Choose the or HaRP Proxy (Docker) template
: A running Docker engine where you can deploy the HaRP container.
: The AppAPI app must be installed and enabled on your Nextcloud instance. Step 1: Deploy the HaRP Container Shared Key : Must match the HP_SHARED_KEY set in Step 1
nextcloud/HaRP: Fast Proxy for AppAPI(Nextcloud 32+) - GitHub