Self-host Nginx UI with Levelrail
A web interface to edit nginx configuration, certificates and sites. This runs its own nginx inside the container and stores its config in volumes.
- Author0xJacky
- LicenceAGPL-3.0-only
- Memory128 MiB
- Services1
How to self-host Nginx UI
-
Pull the images
One image is pulled on your server.
Show images
uozi/nginx-ui:v3.0.1
-
Create the app
One service starts in a single Compose app, with 2 named volume mounts for your data, on port 80.
-
Fill in the secrets
You do not have to fill in anything.
-
Open it
Without a domain the app gets an sslip.io address; add --domain SERVICE=HOST to use your own.
After the first start
- Open the address and create the first administrator account in the setup wizard.
Nginx UI requirements
- Memory
- About 128 MiB
- Architectures
- amd64 unknown, arm64 unknown
- Ports
- 80
- Domain
- Optional, an sslip.io address is used without one
- Settings
- none to fill in
- License
- AGPL-3.0-only, network copyleft (agpl) license
- Listed. It is in the catalog but not verified. Back up the data volume before changing an image tag.
Install Levelrail first
On a server with Levelrail running, run the command above, or open the dashboard: Apps, New app, Browse templates, then Nginx UI. New to Levelrail? Install it on a fresh VPS first.
docker pull ghcr.io/glincker/levelrail:latest Then levelrail-cli login --device. See Getting started and the Nginx UI docs page.
Deploy Nginx UI your way
Every format below deploys the same pinned images. Pick the one that fits how you work.
Deploy Nginx UI from the CLI
levelrail-cli templates deploy nginx-ui --name my-nginx-ui Deploy Nginx UI with the API
curl -X POST -H "Authorization: Bearer $TOKEN" \
https://levelrail.example.com/api/v1/service-templates/nginx-ui/deploy Nginx UI configuration
Nginx UI services
| Service | Image | Ports | Volumes |
|---|---|---|---|
| nginx-ui | uozi/nginx-ui:v3.0.1 | 80 | nginx_config -> /etc/nginxui_config -> /etc/nginx-ui |
Nginx UI environment variables
The catalog lists no environment variables for this template.
Ports and volumes
- Ports
- 80
- Volumes
- 2 named mounts: nginx_config -> /etc/nginx, ui_config -> /etc/nginx-ui
Nginx UI FAQ
How much memory does Nginx UI need?
The catalog lists about 128 MiB of memory for Nginx UI.
Does Nginx UI run on arm64?
For Nginx UI, arm64 support is not confirmed; amd64 is unknown.
What licence is Nginx UI under?
Nginx UI is licensed under AGPL-3.0-only, which is network copyleft, so source sharing also applies when it is offered as a hosted service.
Does Nginx UI need configuration before it starts?
No. The template fills in its own defaults.
Which ports does Nginx UI use?
Nginx UI listens on port 80 inside the stack.
Where does Nginx UI keep its data?
In named volumes: nginx_config mounted at /etc/nginx and ui_config mounted at /etc/nginx-ui.
Can I deploy Nginx UI on Dokploy or Dokku?
The services and pinned images on this page can be run on any Docker host. The public Dokploy templates list we compared does not have an entry with the same id for Nginx UI, so on Dokploy you would use a Docker Compose application with the file from this page. Dokku deploys container images with its own commands, so the pinned image uozi/nginx-ui:v3.0.1 is what you deploy there.