nginx-ui

nginx-ui

Docker app from Nginx UI's Repository

Official standalone Nginx UI template with bundled Nginx.

Requirements

At least 256 MiB of free persistent storage is recommended.
Overview
Official standalone Nginx UI template with bundled Nginx. Nginx configuration, Nginx UI data, and web content are persisted on the Unraid array.

Nginx UI for Unraid

This directory is the source for the official Nginx UI Community Applications repository. A change on the dev branch of 0xJacky/nginx-ui is validated and published to nginxui/unraid by .github/workflows/unraid.yml; edit the templates there, not in nginxui/unraid.

Templates

Nginx UI

The standard template runs the bundled Nginx instance. It persists the Nginx UI database, settings and plugins, Nginx configuration, and web root separately. Plugins are installed under /etc/nginx-ui/plugins, inside the Nginx UI appdata path, and the image bundles the official DNS-01 plugin. Container updates are handled by Unraid, so the template deliberately disables Nginx UI's Docker-socket-dependent self-updater and does not mount the Docker socket.

Open the WebUI at http://<unraid-address>:8080 after installation. The first startup secret is stored in /mnt/user/appdata/nginx-ui/.install_secret by default.

Nginx UI (SWAG)

The SWAG template runs Nginx UI as a controller for an existing LinuxServer SWAG container. It disables the bundled Nginx and exposes the Nginx UI backend on port 9000.

Before installation:

  1. Keep the SWAG container name as swag, or change the template's SWAG container name value to the actual name.
  2. Set SWAG appdata to the same host directory that SWAG mounts at /config. The default is /mnt/user/appdata/swag.
  3. Keep the container target exactly /config. Nginx UI and SWAG must see the configuration and log files at identical paths.

The SWAG template mounts /var/run/docker.sock. Anyone who can control Nginx UI through that socket may gain root-equivalent control of the Unraid host. Restrict Nginx UI access, use a strong initial secret, and do not expose port 9000 directly to the internet.

The Nginx UI image does not use LinuxServer's PUID or PGID variables. They are intentionally absent from both templates; adding them does not change the container user and can reintroduce invalid bundled-Nginx assumptions.

Validation

Install xmllint, then run:

bash tests/validate.sh

After publishing the repository, also run Validate and Scan in the Community Applications submission flow.

Categories

Download Statistics

1,390,998
Total Downloads
216,925
This Month
145,576
Avg / Month

Total Downloads Over Time

Loading chart...

Related apps

Explore more like this

Explore all

Links

Details

Repository
uozi/nginx-ui:latest
Last Updated2026-11-02
First Seen2024-12-14

Runtime arguments

Web UI
http://[IP]:[PORT:80]
Network
bridge
Shell
bash
Privileged
false

Template configuration

WebUI HTTP portPorttcp

HTTP port used to open Nginx UI.

Target
80
Default
8080
HTTPS portPorttcp

HTTPS port served by the bundled Nginx instance.

Target
443
Default
8443
Nginx UI appdataPathrw

Nginx UI database, settings, plugins, and startup secret.

Target
/etc/nginx-ui
Default
/mnt/user/appdata/nginx-ui
Nginx configurationPathrw

Bundled Nginx configuration.

Target
/etc/nginx
Default
/mnt/user/appdata/nginx-ui/nginx
Web rootPathrw

Static website content managed by Nginx UI.

Target
/var/www
Default
/mnt/user/appdata/nginx-ui/www
TimezoneVariable

IANA timezone, for example Europe/Berlin.

Target
TZ
Default
Etc/UTC
Disable container self-updateVariable

Unraid manages image updates; keep the Docker socket disabled.

Target
NGINX_UI_IGNORE_DOCKER_SOCKET
Default
true