Nginx UI

Design and media

Yet another WebUI for Nginx.

Your AI app calls the Nginx UI MCP server, which does the design and media work and sends the result back to the chat.

About Nginx UI

Nginx UI is a community MCP server from 0xJacky, filed in our directory under design and media. Yet another WebUI for Nginx.

Nginx UI runs on your own machine: your AI app starts it with the command npx -y browserslist and talks to it over standard input and output.

At a glance

Publisher
0xJacky (community)
Runs
Locally on your machine
Install from
Node.js package on npm: browserslist
Written in
Go
License
AGPL-3.0
GitHub stars
11,938

How to set up Nginx UI

  1. Install Node.js on the machine that runs your AI app, because Nginx UI starts with npx and downloads its package on first run.
  2. Check the Nginx UI README for keys or settings; the registry lists none that Nginx UI requires.
  3. Add Nginx UI to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Nginx UI tools to confirm the connection.
  5. Run one read-only task with Nginx UI first, and keep your app asking before each tool call until the results look right.

Nginx UI compared with similar servers

  • Openshorts by mutonby has fewer GitHub stars than Nginx UI (10.2k against 11.9k); both are community servers, and Openshorts runs as a remote server and Nginx UI runs on your own machine.
  • ffmpeg-skill by kajisho5 has more GitHub stars than Nginx UI (13.7k against 11.9k); both are community servers, and both run locally.
  • Dashboard Icons by homarr-labs has fewer GitHub stars than Nginx UI (9.2k against 11.9k); both are community servers, and both run locally.

Before you connect Nginx UI

  • Give Nginx UI its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Nginx UI tool call until you trust what it does with them.
  • Treat text that Nginx UI fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Nginx UI on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Nginx UI

How marketing and sales teams put Nginx UI to work, by company size. Pick the size closest to yours and start Nginx UI on one use case.

Small business

  • A small business can use Nginx UI to resize and adapt one design for every channel instead of hiring for each version.
  • Owners can ask Nginx UI to pull brand assets and make quick ad and social variations that still look on brand.
  • Nginx UI runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Creative teams can connect Nginx UI so agents produce variants for testing while designers keep control of the master files.
  • Marketing teams can use Nginx UI to hand off designs to web and ads with specs attached, cutting review rounds.
  • Start Nginx UI on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprises can use Nginx UI with brand rules and approved assets only, so generated work stays inside the brand system.
  • Large creative ops teams can use Nginx UI to localize and version assets for many markets with review built in.
  • Nginx UI is a community server, so have security review the code and pin a version before Nginx UI touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Nginx UI README

From 0xJacky/nginx-ui on GitHub, shared under its AGPL-3.0 license. Images are left out; the original has them.

README.md

Nginx UI

Yet another Nginx Web UI, developed by 0xJacky, Hintay and Akino.

Proudly hosted on AtomGit, a part of the G-Star program.

Documentation

To check out docs, visit nginxui.com.

Sponsor

If you find this project helpful, please consider sponsoring us to support ongoing development and maintenance.

Sponsors

Protect and accelerate websites and APIs with consistent access performance across mainland China and worldwide, and extend acceleration and security to native and mobile apps through client SDKs, Self-hosted private CDN|Subscription-based anti-DDoS CDN|A self-controlled, flexibly composable CDN network.

Official Community Group

Join the official Nginx UI WeChat community group to discuss usage, deployment ideas, and troubleshooting with other community members.

Scan the QR code below to add us on WeChat, and include Nginx UI Community Group in your request. The administrator will invite you to the official community group.

Your support helps us:

  • 🚀 Accelerate the development of new features
  • 🐛 Fix bugs and improve stability
  • 📚 Enhance documentation and tutorials
  • 🌐 Provide better community support
  • 💻 Maintain infrastructure and demo servers
Tooling Support

Thanks to JetBrains for supporting us with free open source licenses.

Also by the Author

uTerm puts servers, coding agents and your Mac in one app for Mac, iPhone and iPad:

  • Servers: Ghostty-based SSH terminal, SFTP, commands on several hosts, and port forwarding on Mac.
  • Coding agents: continue Claude Code, Codex and Antigravity sessions, and approve Claude's plans in the console.
  • Remote Mac: use your Mac's terminals, its desktop or a single window from iPhone or iPad.

Open source under AGPL-3.0. Connecting to hosts and controlling a Mac from iPhone or iPad requires uTerm Pro.

Stargazers over time

English | Español | 简体中文 | 繁體中文 | Tiếng Việt | 日本語

Table of Contents
  1. About The Project
    • Demo
    • Features
    • Internationalization
  2. Getting Started
    • Before Use
    • Installation
    • Usage
      • From Executable
      • With Systemd
      • With Docker
  3. Manual Build
    • Prerequisites
    • Build Frontend
    • Build Backend
  4. Script for Linux
    • Basic Usage
    • More Usage
  5. Example of Nginx Reverse Proxy Configuration
  6. Contributing
  7. License

About The Project

Demo

URL:https://demo.nginxui.com

  • Username:admin
  • Password:admin
Features
  • Online statistics for server indicators such as CPU usage, memory usage, load average, and disk usage.
  • Automatic configuration backup after changes, with version comparison and restore capabilities
  • Cluster management supporting mirroring operations to multiple nodes, making multi-server environments easy to manage
  • Export encrypted Nginx / Nginx UI configurations for quick deployment and recovery to new environments
  • Enhanced online ChatGPT assistant supporting multiple models, including Deepseek-R1's chain-of-thought display to help you better understand and optimize configurations
  • MCP (Model Context Protocol) provides special interfaces for AI agents to interact with Nginx UI, enabling automated configuration management and service control.
  • One-click deployment and automatic renewal Let's Encrypt certificates.
  • Online editing websites configurations with our self-designed NgxConfigEditor which is a user-friendly block editor for nginx configurations or Ace Code Editor which supports LLM Code Completion and highlighting nginx configuration syntax.
  • View Nginx logs online, with indexed search, a traffic dashboard and visitor maps
  • Plugin system: install signed plugins from the marketplace, an uploaded file or an offline directory, for example the official DNS-01 plugin with the DNS providers for certificates
  • Written in Go and Vue, distribution is a single executable binary.
  • Automatically test configuration file and reload nginx after saving configuration.
  • Web Terminal
  • Dark Mode
  • Responsive Web Design
Internationalization

We proudly offer official support for:

  • English
  • Simplified Chinese
  • Traditional Chinese

As non-native English speakers, we strive for accuracy, but we know there's always room for improvement. If you spot any issues, we'd love your feedback!

Thanks to our amazing community, additional languages are also available! Explore and contribute to translations on Weblate.

Getting Started

Before Use

The Nginx UI follows the Debian web server configuration file standard. Created site configuration files will be placed in the sites-available folder that under the Nginx configuration folder (auto-detected). The configuration files for an enabled site will create a soft link to the sites-enabled folder. You may need to adjust the way the configuration files are organised.

For non-Debian (and Ubuntu) systems, you may need to change the contents of the nginx.conf configuration file to the Debian style as shown below.

http {
    # ...
    include /etc/nginx/conf.d/*.conf;
    include /etc/nginx/sites-enabled/*;
}

For more information: debian/conf/nginx.conf

Installation

Nginx UI is available on the following platforms:

  • macOS 11 Big Sur and later (amd64 / arm64)
  • Windows 10 and later (amd64 / arm64)
  • Linux 2.6.23 and later (x86 / amd64 / arm64 / armv5 / armv6 / armv7 / mips32 / mips64 / riscv64 / loongarch64)
    • Including but not limited to Debian 7 / 8, Ubuntu 12.04 / 14.04 and later, CentOS 6 / 7, Arch Linux
  • FreeBSD
  • OpenBSD
  • Dragonfly BSD
  • Openwrt

You can visit latest release to download the latest distribution, or just use installation scripts for Linux.

Usage

In the first runtime of Nginx UI, please visit http://<your_server_ip>:<listen_port> in your browser to complete the follow-up configurations.

From Executable

Run Nginx UI in Terminal

nginx-ui -config app.ini

Press Control+C in the terminal to exit Nginx UI.

Run Nginx UI in Background

nohup ./nginx-ui -config app.ini -pidfile nginx-ui.pid &

Stop Nginx UI gracefully with the following command.

kill -TERM "$(cat nginx-ui.pid)"
With Systemd

If you are using the installation script for Linux, the Nginx UI will be installed as nginx-ui service in systemd. Please use the systemctl command to control it.

Start Nginx UI

systemctl start nginx-ui

Stop Nginx UI

systemctl stop nginx-ui

Restart Nginx UI

systemctl restart nginx-ui
With Docker

Our docker image uozi/nginx-ui:latest is based on the latest nginx image and can be used to replace the Nginx on the host. By publishing the container's port 80 and 443 to the host, you can easily make the switch.

Note
  1. When using this container for the first time, ensure that the volume mapped to /etc/nginx is empty.
  2. If you want to host static files, you can map directories to container.
  3. If you are upgrading from an older image, see the Docker WebSocket fix guide for required conf.d/nginx-ui.conf updates.
  4. The image bundles the official DNS-01 plugin and installs it on the first start. Installed plugins are kept in /etc/nginx-ui/plugins, so keep /etc/nginx-ui on a volume. When upgrading from v2, see Upgrading to v3.
Deploy with Docker
  1. Install Docker.

  2. Then deploy nginx-ui like this:

docker run -dit \
  --name=nginx-ui \
  --restart=always \
  -e TZ=Asia/Shanghai \
  -v /mnt/user/appdata/nginx:/etc/nginx \
  -v /mnt/user/appdata/nginx-ui:/etc/nginx-ui \
  -v /var/run/docker.sock:/var/run/docker.sock \
  -p 8080:80 -p 8443:443 \
  uozi/nginx-ui:latest
  1. When your docker container is running, Log in to nginx-ui panel with http://<your_server_ip>:8080/install. If you change the port mapping, access Nginx UI through the host port mapped to container port 80 instead.
Deploy with Docker-Compose
  1. Install Docker-Compose.

  2. Create a docker-compose.yml file like this:

services:
    nginx-ui:
        stdin_open: true
        tty: true
        container_name: nginx-ui
        restart: always
        environment:
            - TZ=Asia/Shanghai
        volumes:
            - '/mnt/user/appdata/nginx:/etc/nginx'
            - '/mnt/user/appdata/nginx-ui:/etc/nginx-ui'
            - '/var/www:/var/www'
            - '/var/run/docker.sock:/var/run/docker.sock'
        ports:
            - 8080:80
            - 8443:443
        image: 'uozi/nginx-ui:latest'
  1. Then creat your container by:
docker compose up -d
  1. When your docker container is running, Log in to nginx-ui panel with http://<your_server_ip>:8080/install. If you change the port mapping, access Nginx UI through the host port mapped to container port 80 instead.

Manual Build

On platforms that do not have an official build version, they can be built manually.

Prerequisites
  • Make

  • Golang 1.27.2+

  • Bun 1.4.3 (the version pinned by this repository's package manifest and CI)

  • node.js 21+

    npx browserslist@latest --update-db
    
Build Frontend

Please execute the following command in app directory.

bun install
bun run build
Build Backend

Please build the app first, and then execute the following command in the project root directory.

go generate
go build -tags=jsoniter -ldflags "$LD_FLAGS -X 'github.com/0xJacky/Nginx-UI/settings.buildTime=$(date +%s)'" -o nginx-ui -v main.go

Script for Linux

Basic Usage

Install and Upgrade

bash -c "$(curl -L https://cloud.nginxui.com/install.sh)" @ install

The default listening port is 9000, and the default HTTP Challenge port is 9180. If there is a port conflict, please modify /usr/local/etc/nginx-ui/app.ini manually, then use systemctl restart nginx-ui to reload the Nginx UI service.

Remove Nginx UI, except configuration and database files

bash -c "$(curl -L https://cloud.nginxui.com/install.sh)" @ remove
More Usage
bash -c "$(curl -L https://cloud.nginxui.com/install.sh)" @ help

Example of Nginx Reverse Proxy Configuration

server {
    listen          80;
    listen          [::]:80;

    server_name     <your_server_name>;
    rewrite ^(.*)$  https://$host$1 permanent;
}

map $http_upgrade $connection_upgrade {
    default upgrade;
    ''      close;
}

server {
    listen  443       ssl;
    listen  [::]:443  ssl;
    http2   on;

    server_name         <your_server_name>;

    ssl_certificate     /path/to/ssl_cert;
    ssl_certificate_key /path/to/ssl_cert_key;

    location / {
        proxy_set_header    Host                $host;
        proxy_set_header    X-Real-IP           $remote_addr;
        proxy_set_header    X-Forwarded-For     $proxy_add_x_forwarded_for;
        proxy_set_header    X-Forwarded-Proto   $scheme;
        proxy_http_version  1.1;
        proxy_set_header    Upgrade             $http_upgrade;
        proxy_set_header    Connection          $connection_upgrade;
        proxy_pass          http://127.0.0.1:9000/;
    }
}

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

This project is provided under a GNU Affero General Public License v3.0 license that can be found in the LICENSE file. By using, distributing, or contributing to this project, you agree to the terms and conditions of this license.

Questions about Nginx UI

What is the Nginx UI MCP server?

Yet another WebUI for Nginx. Nginx UI is maintained by 0xJacky on GitHub at 0xJacky/nginx-ui, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Nginx UI MCP server?

Add Nginx UI to your AI app's MCP config with the command npx -y browserslist. In Claude Code, run claude mcp add --transport stdio nginx-ui -- npx -y browserslist. To run Nginx UI this way you need Node.js installed.

Does Nginx UI need an API key?

The registry lists no required keys for Nginx UI. Check the Nginx UI README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Nginx UI an official MCP server?

No. Nginx UI is a community server maintained by 0xJacky. Community servers can be excellent; read the code and the open issues before you give Nginx UI access to company data.

What license is Nginx UI under?

Nginx UI is released under the AGPL-3.0 license, according to its GitHub repository. The license covers the code of Nginx UI; the service it connects to has its own terms.