[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-5011":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":23,"hasPages":23,"topics":25,"createdAt":10,"pushedAt":10,"updatedAt":43,"readmeContent":44,"aiSummary":45,"trendingCount":16,"starSnapshotCount":16,"syncStatus":46,"lastSyncTime":47,"discoverSource":48},5011,"nginx-ui","0xJacky\u002Fnginx-ui","0xJacky","Yet another WebUI for Nginx","https:\u002F\u002Fnginxui.com",null,"Go",11204,832,45,81,0,1,20,73,6,43.76,"GNU Affero General Public License v3.0",false,"dev",[26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42],"chatgpt-app","code-completion","copilot","cron","deepseek-r1","docker","go","letsencrypt","linux","macos","mcp","mcp-server","nginx","self-hosted","vue","webui","windows","2026-06-12 02:01:07","\u003Cdiv align=\"center\">\n      \u003Cimg src=\"resources\u002Flogo.png\" alt=\"Nginx UI Logo\">\n\u003C\u002Fdiv>\n\n# Nginx UI\n\nYet another Nginx Web UI, developed by [0xJacky](https:\u002F\u002Fjackyu.cn\u002F), [Hintay](https:\u002F\u002Fblog.kugeek.com\u002F) and [Akino](https:\u002F\u002Fgithub.com\u002Fakinoccc).\n\n[![DeepWiki](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FDeepWiki-0xJacky%2Fnginx--ui-blue.svg?logo=data:image\u002Fpng;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAyCAYAAAAnWDnqAAAAAXNSR0IArs4c6QAAA05JREFUaEPtmUtyEzEQhtWTQyQLHNak2AB7ZnyXZMEjXMGeK\u002FAIi+QuHrMnbChYY7MIh8g01fJoopFb0uhhEqqcbWTp06\u002Fuv1saEDv4O3n3dV60RfP947Mm9\u002FSQc0ICFQgzfc4CYZoTPAswgSJCCUJUnAAoRHOAUOcATwbmVLWdGoH\u002F\u002FPB8mnKqScAhsD0kYP3j\u002FYt5LPQe2KvcXmGvRHcDnpxfL2zOYJ1mFwrryWTz0advv1Ut4CJgf5uhDuDj5eUcAUoahrdY\u002F56ebRWeraTjMt\u002F00Sh3UDtjgHtQNHwcRGOC98BJEAEymycmYcWwOprTgcB6VZ5JK5TAJ+fXGLBm3FDAmn6oPPjR4rKCAoJCal2eAiQp2x0vxTPB3ALO2CRkwmDy5WohzBDwSEFKRwPbknEggCPB\u002FimwrycgxX2NzoMCHhPkDwqYMr9tRcP5qNrMZHkVnOjRMWwLCcr8ohBVb1OMjxLwGCvjTikrsBOiA6fNyCrm8V1rP93iVPpwaE+gO0SsWmPiXB+jikdf6SizrT5qKasx5j8ABbHpFTx+vFXp9EnYQmLx02h1QTTrl6eDqxLnGjporxl3NL3agEvXdT0WmEost648sQOYAeJS9Q7bfUVoMGnjo4AZdUMQku50McDcMWcBPvr0SzbTAFDfvJqwLzgxwATnCgnp4wDl6Aa+Ax283gghmj+vj7feE2KBBRMW3FzOpLOADl0Isb5587h\u002FU4gGvkt5v60Z1VLG8BhYjbzRwyQZemwAd6cCR5\u002FXFWLYZRIMpX39AR0tjaGGiGzLVyhse5C9RKC6ai42ppWPKiBagOvaYk8lO7DajerabOZP46Lby5wKjw1HCRx7p9sVMOWGzb\u002FvA1hwiWc6jm3MvQDTogQkiqIhJV0nBQBTU+3okKCFDy9WwferkHjtxib7t3xIUQtHxnIwtx4mpg26\u002FHfwVNVDb4oI9RHmx5WGelRVlrtiw43zboCLaxv46AZeB3IlTkwouebTr1y2NjSpHz68WNFjHvupy3q8TFn3Hos2IAk4Ju5dCo8B3wP7VPr\u002FFGaKiG+T+v+TQqIrOqMTL1VdWV1DdmcbO8KXBz6esmYWYKPwDL5b5FA1a0hwapHiom0r\u002FcKaoqr+27\u002FXcrS5UwSMbQAAAABJRU5ErkJggg==)](https:\u002F\u002Fdeepwiki.com\u002F0xJacky\u002Fnginx-ui)\n[![Ask DeepWiki](https:\u002F\u002Fdeepwiki.com\u002Fbadge.svg)](https:\u002F\u002Fdeepwiki.com\u002F0xJacky\u002Fnginx-ui)\n\n[![Build and Publish](https:\u002F\u002Fgithub.com\u002F0xJacky\u002Fnginx-ui\u002Factions\u002Fworkflows\u002Fbuild.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002F0xJacky\u002Fnginx-ui\u002Factions\u002Fworkflows\u002Fbuild.yml)\n[![GitHub license](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Flicense\u002F0xJacky\u002Fnginx-ui?label=License&logo=github)](https:\u002F\u002Fgithub.com\u002F0xJacky\u002Fnginx-ui \"Click to view the repo on Github\")\n[![Release Version](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Frelease\u002F0xJacky\u002Fnginx-ui?include_prereleases&label=Release&logo=github)](https:\u002F\u002Fgithub.com\u002F0xJacky\u002Fnginx-ui\u002Freleases\u002Flatest \"Click to view the repo on Github\")\n[![GitHub Star](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fstars\u002F0xJacky\u002Fnginx-ui?label=Stars&logo=github)](https:\u002F\u002Fgithub.com\u002F0xJacky\u002Fnginx-ui \"Click to view the repo on Github\")\n[![GitHub Fork](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fforks\u002F0xJacky\u002Fnginx-ui?label=Forks&logo=github)](https:\u002F\u002Fgithub.com\u002F0xJacky\u002Fnginx-ui \"Click to view the repo on Github\")\n[![Repo Size](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Frepo-size\u002F0xJacky\u002Fnginx-ui?label=Size&logo=github)](https:\u002F\u002Fgithub.com\u002F0xJacky\u002Fnginx-ui \"Click to view the repo on Github\")\n[![GitHub Fork](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fissues-closed-raw\u002F0xJacky\u002Fnginx-ui?label=Closed%20Issue&logo=github)](https:\u002F\u002Fgithub.com\u002F0xJacky\u002Fnginx-ui\u002Fissues \"Click to view the repo on Github\")\n\n[![Docker Stars](https:\u002F\u002Fimg.shields.io\u002Fdocker\u002Fstars\u002Fuozi\u002Fnginx-ui?label=Stars&logo=docker)](https:\u002F\u002Fhub.docker.com\u002Fr\u002Fuozi\u002Fnginx-ui \"Click to view the image on Docker Hub\")\n[![Docker Pulls](https:\u002F\u002Fimg.shields.io\u002Fdocker\u002Fpulls\u002Fuozi\u002Fnginx-ui?label=Pulls&logo=docker)](https:\u002F\u002Fhub.docker.com\u002Fr\u002Fuozi\u002Fnginx-ui \"Click to view the image on Docker Hub\")\n[![Image Size](https:\u002F\u002Fimg.shields.io\u002Fdocker\u002Fimage-size\u002Fuozi\u002Fnginx-ui\u002Flatest?label=Image%20Size&logo=docker)](https:\u002F\u002Fhub.docker.com\u002Fr\u002Fuozi\u002Fnginx-ui \"Click to view the image on Docker Hub\")\n\n[![Translated Status](https:\u002F\u002Fweblate.nginxui.com\u002Fwidget\u002Fnginx-ui\u002Ffrontend\u002Fsvg-badge.svg)](https:\u002F\u002Fweblate.nginxui.com\u002Fengage\u002Fnginx-ui\u002F)\n[![Featured｜HelloGitHub](https:\u002F\u002Fabroad.hellogithub.com\u002Fv1\u002Fwidgets\u002Frecommend.svg?rid=86f3a8f779934748a34fe6f1b5cd442f&claim_uid=MOFqadzAShCBeQj&theme=small)](https:\u002F\u002Fhellogithub.com\u002Frepository\u002F86f3a8f779934748a34fe6f1b5cd442f)\n\n## Documentation\nTo check out docs, visit [nginxui.com](https:\u002F\u002Fnginxui.com).\n\n## Sponsor\n\nIf you find this project helpful, please consider sponsoring us to support ongoing development and maintenance.\n\n[![GitHub Sponsors](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FGitHub-Sponsors-ea4aaa?style=for-the-badge&logo=github-sponsors&logoColor=white)](https:\u002F\u002Fgithub.com\u002Fsponsors\u002Fnginxui)\n[![Afdian](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002F爱发电-Support-946ce6?style=for-the-badge&logo=data:image\u002Fsvg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEyIDJMMTMuMDkgOC4yNkwyMCA5TDEzLjA5IDE1Ljc0TDEyIDIyTDEwLjkxIDE1Ljc0TDQgOUwxMC45MSA4LjI2TDEyIDJaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K)](https:\u002F\u002Fafdian.com\u002Fa\u002Fnginxui)\n\n### Official Community Group\n\nJoin the official Nginx UI WeChat community group to discuss usage, deployment ideas, and troubleshooting with other community members.\n\nScan 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.\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"docs\u002Fpublic\u002Fassets\u002Fwechat-community-qr.png\" alt=\"Nginx UI WeChat Community QR Code\" width=\"320\">\n\u003C\u002Fp>\n\nYour support helps us:\n- 🚀 Accelerate the development of new features\n- 🐛 Fix bugs and improve stability\n- 📚 Enhance documentation and tutorials\n- 🌐 Provide better community support\n- 💻 Maintain infrastructure and demo servers\n\n### Tooling Support\n\n\u003Ca href=\"https:\u002F\u002Fwww.jetbrains.com\u002F?from=nginx-ui\" target=\"_blank\">\n  \u003Cimg src=\"https:\u002F\u002Fresources.jetbrains.com\u002Fstorage\u002Fproducts\u002Fcompany\u002Fbrand\u002Flogos\u002Fjb_beam.svg\" alt=\"JetBrains Logo\" width=\"200px\">\n\u003C\u002Fa>\n\nThanks to [JetBrains](https:\u002F\u002Fwww.jetbrains.com\u002F?from=nginx-ui) for supporting us with free open source licenses.\n\n\n## Stargazers over time\n\n[![Stargazers over time](https:\u002F\u002Fstarchart.cc\u002F0xJacky\u002Fnginx-ui.svg)](https:\u002F\u002Fstarchart.cc\u002F0xJacky\u002Fnginx-ui)\n\nEnglish | [Español](resources\u002Freadme\u002FREADME-es.md) | [简体中文](resources\u002Freadme\u002FREADME-zh_CN.md) | [繁體中文](resources\u002Freadme\u002FREADME-zh_TW.md) | [Tiếng Việt](resources\u002Freadme\u002FREADME-vi_VN.md) | [日本語](resources\u002Freadme\u002FREADME-ja_JP.md)\n\n\u003Cdetails>\n  \u003Csummary>Table of Contents\u003C\u002Fsummary>\n  \u003Col>\n    \u003Cli>\n      \u003Ca href=\"#about-the-project\">About The Project\u003C\u002Fa>\n      \u003Cul>\n        \u003Cli>\u003Ca href=\"#demo\">Demo\u003C\u002Fa>\u003C\u002Fli>\n        \u003Cli>\u003Ca href=\"#features\">Features\u003C\u002Fa>\u003C\u002Fli>\n        \u003Cli>\u003Ca href=\"#internationalization\">Internationalization\u003C\u002Fa>\u003C\u002Fli>\n      \u003C\u002Ful>\n    \u003C\u002Fli>\n    \u003Cli>\n      \u003Ca href=\"#getting-started\">Getting Started\u003C\u002Fa>\n      \u003Cul>\n        \u003Cli>\u003Ca href=\"#before-use\">Before Use\u003C\u002Fa>\u003C\u002Fli>\n        \u003Cli>\u003Ca href=\"#installation\">Installation\u003C\u002Fa>\u003C\u002Fli>\n        \u003Cli>\n          \u003Ca href=\"#usage\">Usage\u003C\u002Fa>\n          \u003Cul>\n            \u003Cli>\u003Ca href=\"#from-executable\">From Executable\u003C\u002Fa>\u003C\u002Fli>\n            \u003Cli>\u003Ca href=\"#with-systemd\">With Systemd\u003C\u002Fa>\u003C\u002Fli>\n            \u003Cli>\u003Ca href=\"#with-docker\">With Docker\u003C\u002Fa>\u003C\u002Fli>\n          \u003C\u002Ful>\n        \u003C\u002Fli>\n      \u003C\u002Ful>\n    \u003C\u002Fli>\n    \u003Cli>\n      \u003Ca href=\"#manual-build\">Manual Build\u003C\u002Fa>\n      \u003Cul>\n        \u003Cli>\u003Ca href=\"#prerequisites\">Prerequisites\u003C\u002Fa>\u003C\u002Fli>\n        \u003Cli>\u003Ca href=\"#build-app\">Build Frontend\u003C\u002Fa>\u003C\u002Fli>\n        \u003Cli>\u003Ca href=\"#build-backend\">Build Backend\u003C\u002Fa>\u003C\u002Fli>\n      \u003C\u002Ful>\n    \u003C\u002Fli>\n    \u003Cli>\n      \u003Ca href=\"#script-for-linux\">Script for Linux\u003C\u002Fa>\n      \u003Cul>\n        \u003Cli>\u003Ca href=\"#basic-usage\">Basic Usage\u003C\u002Fa>\u003C\u002Fli>\n        \u003Cli>\u003Ca href=\"#more-usage\">More Usage\u003C\u002Fa>\u003C\u002Fli>\n      \u003C\u002Ful>\n    \u003C\u002Fli>\n    \u003Cli>\u003Ca href=\"#example-of-nginx-reverse-proxy-configuration\">Example of Nginx Reverse Proxy Configuration\u003C\u002Fa>\u003C\u002Fli>\n    \u003Cli>\u003Ca href=\"#contributing\">Contributing\u003C\u002Fa>\u003C\u002Fli>\n    \u003Cli>\u003Ca href=\"#license\">License\u003C\u002Fa>\u003C\u002Fli>\n  \u003C\u002Fol>\n\u003C\u002Fdetails>\n\n## About The Project\n\n![Dashboard](resources\u002Fscreenshots\u002Fdashboard_en.png)\n\n### Demo\nURL：[https:\u002F\u002Fdemo.nginxui.com](https:\u002F\u002Fdemo.nginxui.com)\n- Username：admin\n- Password：admin\n\n### Features\n\n- Online statistics for server indicators such as CPU usage, memory usage, load average, and disk usage.\n- Automatic configuration backup after changes, with version comparison and restore capabilities\n- Cluster management supporting mirroring operations to multiple nodes, making multi-server environments easy to manage\n- Export encrypted Nginx \u002F Nginx UI configurations for quick deployment and recovery to new environments\n- Enhanced online **ChatGPT** assistant supporting multiple models, including Deepseek-R1's chain-of-thought display to help you better understand and optimize configurations\n- **MCP** (Model Context Protocol) provides special interfaces for AI agents to interact with Nginx UI, enabling automated configuration management and service control.\n- One-click deployment and automatic renewal Let's Encrypt certificates.\n- 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.\n- Online view Nginx logs\n- Written in Go and Vue, distribution is a single executable binary.\n- Automatically test configuration file and reload nginx after saving configuration.\n- Web Terminal\n- Dark Mode\n- Responsive Web Design\n\n### Internationalization\n\nWe proudly offer official support for:\n\n- English\n- Simplified Chinese\n- Traditional Chinese\n\nAs 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!\n\nThanks to our amazing community, additional languages are also available! Explore and contribute to translations on [Weblate](https:\u002F\u002Fweblate.nginxui.com).\n\n\n## Getting Started\n\n### Before Use\n\nThe 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.\n\nFor 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.\n\n```nginx\nhttp {\n\t# ...\n\tinclude \u002Fetc\u002Fnginx\u002Fconf.d\u002F*.conf;\n\tinclude \u002Fetc\u002Fnginx\u002Fsites-enabled\u002F*;\n}\n```\n\nFor more information: [debian\u002Fconf\u002Fnginx.conf](https:\u002F\u002Fsalsa.debian.org\u002Fnginx-team\u002Fnginx\u002F-\u002Fblob\u002Fmaster\u002Fdebian\u002Fconf\u002Fnginx.conf#L59-L60)\n\n### Installation\n\nNginx UI is available on the following platforms:\n\n- macOS 11 Big Sur and later (amd64 \u002F arm64)\n- Windows 10 and later (amd64 \u002F arm64)\n- Linux 2.6.23 and later (x86 \u002F amd64 \u002F arm64 \u002F armv5 \u002F armv6 \u002F armv7 \u002F mips32 \u002F mips64 \u002F riscv64 \u002F loongarch64)\n  - Including but not limited to Debian 7 \u002F 8, Ubuntu 12.04 \u002F 14.04 and later, CentOS 6 \u002F 7, Arch Linux\n- FreeBSD\n- OpenBSD\n- Dragonfly BSD\n- Openwrt\n\nYou can visit [latest release](https:\u002F\u002Fgithub.com\u002F0xJacky\u002Fnginx-ui\u002Freleases\u002Flatest) to download the latest distribution, or just use [installation scripts for Linux](#script-for-linux).\n\n### Usage\n\nIn the first runtime of Nginx UI, please visit `http:\u002F\u002F\u003Cyour_server_ip>:\u003Clisten_port>`\nin your browser to complete the follow-up configurations.\n\n#### From Executable\n**Run Nginx UI in Terminal**\n\n```shell\nnginx-ui -config app.ini\n```\nPress `Control+C` in the terminal to exit Nginx UI.\n\n**Run Nginx UI in Background**\n\n```shell\nnohup .\u002Fnginx-ui -config app.ini &\n```\nStop Nginx UI with the follow command.\n\n```shell\nkill -9 $(ps -aux | grep nginx-ui | grep -v grep | awk '{print $2}')\n```\n\n#### With Systemd\nIf you are using the [installation script for Linux](#script-for-linux), the Nginx UI will be installed as `nginx-ui` service in systemd. Please use the `systemctl` command to control it.\n\n**Start Nginx UI**\n\n```shell\nsystemctl start nginx-ui\n```\n**Stop Nginx UI**\n\n```shell\nsystemctl stop nginx-ui\n```\n**Restart Nginx UI**\n\n```shell\nsystemctl restart nginx-ui\n```\n\n#### With Docker\nOur docker image [uozi\u002Fnginx-ui:latest](https:\u002F\u002Fhub.docker.com\u002Fr\u002Fuozi\u002Fnginx-ui) is based on the latest nginx image and\ncan be used to replace the Nginx on the host. By publishing the container's port 80 and 443 to the host,\nyou can easily make the switch.\n\n##### Note\n1. When using this container for the first time, ensure that the volume mapped to \u002Fetc\u002Fnginx is empty.\n2. If you want to host static files, you can map directories to container.\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>Deploy with Docker\u003C\u002Fb>\u003C\u002Fsummary>\n\n1. [Install Docker.](https:\u002F\u002Fdocs.docker.com\u002Finstall\u002F)\n\n2. Then deploy nginx-ui like this:\n\n```bash\ndocker run -dit \\\n  --name=nginx-ui \\\n  --restart=always \\\n  -e TZ=Asia\u002FShanghai \\\n  -v \u002Fmnt\u002Fuser\u002Fappdata\u002Fnginx:\u002Fetc\u002Fnginx \\\n  -v \u002Fmnt\u002Fuser\u002Fappdata\u002Fnginx-ui:\u002Fetc\u002Fnginx-ui \\\n  -v \u002Fvar\u002Frun\u002Fdocker.sock:\u002Fvar\u002Frun\u002Fdocker.sock \\\n  -p 8080:80 -p 8443:443 \\\n  uozi\u002Fnginx-ui:latest\n```\n\n3. When your docker container is running, Log in to nginx-ui panel with `http:\u002F\u002F\u003Cyour_server_ip>:8080\u002Finstall`.\n   If you change the port mapping, access Nginx UI through the host port mapped to container port `80` instead.\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>Deploy with Docker-Compose\u003C\u002Fb>\u003C\u002Fsummary>\n\n1. [Install Docker-Compose.](https:\u002F\u002Fdocs.docker.com\u002Fcompose\u002Finstall\u002F)\n\n2. Create a docker-compose.yml file like this:\n\n```yml\nservices:\n    nginx-ui:\n        stdin_open: true\n        tty: true\n        container_name: nginx-ui\n        restart: always\n        environment:\n            - TZ=Asia\u002FShanghai\n        volumes:\n            - '\u002Fmnt\u002Fuser\u002Fappdata\u002Fnginx:\u002Fetc\u002Fnginx'\n            - '\u002Fmnt\u002Fuser\u002Fappdata\u002Fnginx-ui:\u002Fetc\u002Fnginx-ui'\n            - '\u002Fvar\u002Fwww:\u002Fvar\u002Fwww'\n            - '\u002Fvar\u002Frun\u002Fdocker.sock:\u002Fvar\u002Frun\u002Fdocker.sock'\n        ports:\n            - 8080:80\n            - 8443:443\n        image: 'uozi\u002Fnginx-ui:latest'\n```\n\n3. Then creat your container by:\n```bash\ndocker compose up -d\n```\n\n4. When your docker container is running, Log in to nginx-ui panel with `http:\u002F\u002F\u003Cyour_server_ip>:8080\u002Finstall`.\n   If you change the port mapping, access Nginx UI through the host port mapped to container port `80` instead.\n\n\u003C\u002Fdetails>\n\n## Manual Build\n\nOn platforms that do not have an official build version, they can be built manually.\n\n### Prerequisites\n\n- Make\n\n- Golang 1.23+\n\n- node.js 21+\n\n  ```shell\n  npx browserslist@latest --update-db\n  ```\n\n### Build Frontend\n\nPlease execute the following command in `app` directory.\n\n```shell\npnpm install\npnpm build\n```\n\n### Build Backend\n\nPlease build the app first, and then execute the following command in the project root directory.\n\n```shell\ngo generate\ngo build -tags=jsoniter -ldflags \"$LD_FLAGS -X 'github.com\u002F0xJacky\u002FNginx-UI\u002Fsettings.buildTime=$(date +%s)'\" -o nginx-ui -v main.go\n```\n\n## Script for Linux\n\n### Basic Usage\n\n**Install and Upgrade**\n\n```shell\nbash -c \"$(curl -L https:\u002F\u002Fcloud.nginxui.com\u002Finstall.sh)\" @ install\n```\nThe default listening port is `9000`, and the default HTTP Challenge port is `9180`.\nIf there is a port conflict, please modify `\u002Fusr\u002Flocal\u002Fetc\u002Fnginx-ui\u002Fapp.ini` manually,\nthen use `systemctl restart nginx-ui` to reload the Nginx UI service.\n\n**Remove Nginx UI, except configuration and database files**\n\n```shell\nbash -c \"$(curl -L https:\u002F\u002Fcloud.nginxui.com\u002Finstall.sh)\" @ remove\n```\n\n### More Usage\n\n````shell\nbash -c \"$(curl -L https:\u002F\u002Fcloud.nginxui.com\u002Finstall.sh)\" @ help\n````\n\n## Example of Nginx Reverse Proxy Configuration\n\n```nginx\nserver {\n    listen          80;\n    listen          [::]:80;\n\n    server_name     \u003Cyour_server_name>;\n    rewrite ^(.*)$  https:\u002F\u002F$host$1 permanent;\n}\n\nmap $http_upgrade $connection_upgrade {\n    default upgrade;\n    ''      close;\n}\n\nserver {\n    listen  443       ssl;\n    listen  [::]:443  ssl;\n    http2   on;\n\n    server_name         \u003Cyour_server_name>;\n\n    ssl_certificate     \u002Fpath\u002Fto\u002Fssl_cert;\n    ssl_certificate_key \u002Fpath\u002Fto\u002Fssl_cert_key;\n\n    location \u002F {\n        proxy_set_header    Host                $host;\n        proxy_set_header    X-Real-IP           $remote_addr;\n        proxy_set_header    X-Forwarded-For     $proxy_add_x_forwarded_for;\n        proxy_set_header    X-Forwarded-Proto   $scheme;\n        proxy_http_version  1.1;\n        proxy_set_header    Upgrade             $http_upgrade;\n        proxy_set_header    Connection          $connection_upgrade;\n        proxy_pass          http:\u002F\u002F127.0.0.1:9000\u002F;\n    }\n}\n```\n\n## Contributing\n\nContributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you  make are **greatly appreciated**.\n\nIf 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!\n\n1. Fork the Project\n2. Create your Feature Branch (`git checkout -b feature\u002FAmazingFeature`)\n3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)\n4. Push to the Branch (`git push origin feature\u002FAmazingFeature`)\n5. Open a Pull Request\n\n## License\n\nThis project is provided under a GNU Affero General Public License v3.0 license that can be found in the [LICENSE](LICENSE) file. By using, distributing, or contributing to this project, you agree to the terms and conditions of this license.\n","Nginx UI 是一个为 Nginx 设计的 Web 界面管理工具。它采用 Go 语言开发，提供了直观易用的图形界面来配置和管理 Nginx 服务器，支持 SSL 证书自动申请（通过 Let's Encrypt），并具备 Docker 部署能力，方便用户在多种操作系统上快速搭建与维护。此外，该项目还集成了代码补全、定时任务等功能，以提升用户体验。Nginx UI 适用于需要简化 Nginx 配置流程、提高运维效率的各种场景，无论是个人开发者还是企业级应用都能从中受益。",2,"2026-06-11 03:02:04","top_language"]