docs/guide/install-openwrt.md
Nginx UI publishes an APK v3 repository for OpenWrt 25.12 at
https://cloud.nginxui.com/openwrt/25.12/. Repository indexes are signed with a
project-managed key and built with official OpenWrt SDKs. The package is not
submitted to the upstream OpenWrt feeds.
apk package managerThe initial repository supports:
x86_64aarch64_genericaarch64_cortex-a53arm_cortex-a15_neon-vfpv4arm_cortex-a7_neon-vfpv4riscv64_genericCheck the device architecture before installation:
apk --print-arch
ARMv5, ARMv6, and MIPS packages are not published in the initial repository.
Run these commands as root:
install -d -m 0755 /etc/apk/keys /etc/apk/repositories.d
wget -O /etc/apk/keys/nginx-ui.pem \
https://cloud.nginxui.com/openwrt/public-key.pem
arch="$(apk --print-arch)"
repository="https://cloud.nginxui.com/openwrt/25.12/${arch}/packages.adb"
grep -qxF "$repository" /etc/apk/repositories.d/customfeeds.list 2>/dev/null || \
echo "$repository" >> /etc/apk/repositories.d/customfeeds.list
apk update
apk add nginx-ui
The package installs:
/usr/bin/nginx-ui/etc/nginx-ui/app.ini/etc/init.d/nginx-ui/lib/upgrade/keep.d/nginx-uiThe default backend listens on port 9000. Nginx UI configuration and the
procd service registration are preserved across sysupgrade.
/etc/init.d/nginx-ui status
/etc/init.d/nginx-ui restart
logread -e nginx-ui
Read the first-start installation secret with:
cat /etc/nginx-ui/.install_secret
apk update
apk upgrade nginx-ui
APK verifies the package hash through the signed packages.adb repository
index. Release packages and indexes are built before the index is uploaded, so
clients never receive an index that points to an unpublished package.