Skip to content

Commit d6ecf1d

Browse files
committed
chore: prepare v2.1.12
1 parent 90881af commit d6ecf1d

File tree

11 files changed

+1136
-12
lines changed

11 files changed

+1136
-12
lines changed

app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "nginx-ui-app-next",
33
"type": "module",
4-
"version": "2.1.11",
4+
"version": "2.1.12",
55
"packageManager": "[email protected]+sha512.5ea8b0deed94ed68691c9bad4c955492705c5eeb8a87ef86bc62c74a26b037b08ff9570f108b2e4dbd1dd1a9186fea925e527f141c648e85af45631074680184",
66
"scripts": {
77
"dev": "vite --host",

app/src/version.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"version":"2.1.11","build_id":1,"total_build":450}
1+
{"version":"2.1.12","build_id":1,"total_build":451}

docs/.vitepress/config/en.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ export const enConfig: LocaleSpecificConfig<DefaultTheme.Config> = {
1818
items: [
1919
{ text: 'What is Nginx UI?', link: '/guide/about' },
2020
{ text: 'Getting Started', link: '/guide/getting-started' },
21+
{ text: 'Install with Homebrew', link: '/guide/install-homebrew' },
2122
{ text: 'Install Script', link: '/guide/install-script-linux' }
2223
]
2324
},

docs/.vitepress/config/zh_CN.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ export const zhCNConfig: LocaleSpecificConfig<DefaultTheme.Config> = {
2323
items: [
2424
{ text: '何为 Nginx UI?', link: '/zh_CN/guide/about' },
2525
{ text: '即刻开始', link: '/zh_CN/guide/getting-started' },
26+
{ text: '使用 Homebrew 安装', link: '/zh_CN/guide/install-homebrew' },
2627
{ text: '安装脚本', link: '/zh_CN/guide/install-script-linux' }
2728
]
2829
},

docs/.vitepress/config/zh_TW.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ export const zhTWConfig: LocaleSpecificConfig<DefaultTheme.Config> = {
2323
items: [
2424
{ text: '何為 Nginx UI?', link: '/zh_TW/guide/about' },
2525
{ text: '即刻開始', link: '/zh_TW/guide/getting-started' },
26+
{ text: '使用 Homebrew 安裝', link: '/zh_TW/guide/install-homebrew' },
2627
{ text: '安裝指令碼', link: '/zh_TW/guide/install-script-linux' }
2728
]
2829
},

docs/guide/getting-started.md

Lines changed: 66 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,79 @@ information: [debian/conf/nginx.conf](https://salsa.debian.org/nginx-team/nginx/
3030

3131
## Installation
3232

33-
We recommend using the [installation script](./install-script-linux) for Linux users, in which case you can directly
34-
control the host machine's Nginx. You can also [install via Docker](#install-with-docker), where our provided image
35-
includes Nginx and can be used bundled. For advanced users, you may also visit the [latest release](https://github.com/0xJacky/nginx-ui/releases/latest)
36-
to download the latest distribution and [run executable directly](#run-executable-directly), or [manually build it](./build).
33+
We provide several installation methods to suit different needs:
34+
35+
- **macOS/Linux**: Use [Homebrew](./install-homebrew) for the easiest installation
36+
- **Linux**: Use the [installation script](./install-script-linux) to directly control the host machine's Nginx
37+
- **Docker**: [Install via Docker](#install-with-docker) with our bundled image that includes Nginx
38+
- **Advanced**: Download from [latest release](https://github.com/0xJacky/nginx-ui/releases/latest) and [run executable directly](#run-executable-directly), or [manually build it](./build)
3739

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

4143
In addition, we provide [an example](./nginx-proxy-example) of using Nginx to reverse proxy Nginx UI,
4244
which can be used after installation is complete.
4345

46+
## Install with Homebrew
47+
48+
For macOS and Linux users, you can install Nginx UI using Homebrew, which provides the easiest installation experience.
49+
50+
::: tip
51+
52+
This installation method is available for macOS and Linux. For other operating systems, please use alternative installation methods.
53+
54+
:::
55+
56+
### Install
57+
58+
```bash
59+
brew install 0xjacky/tools/nginx-ui
60+
```
61+
62+
### Start Service
63+
64+
```bash
65+
# Start the service
66+
brew services start nginx-ui
67+
68+
# Or run in foreground
69+
nginx-ui
70+
```
71+
72+
### Stop Service
73+
74+
```bash
75+
brew services stop nginx-ui
76+
```
77+
78+
### Upgrade
79+
80+
```bash
81+
brew upgrade nginx-ui
82+
```
83+
84+
### Uninstall
85+
86+
```bash
87+
# Stop the service first
88+
brew services stop nginx-ui
89+
90+
# Uninstall the package
91+
brew uninstall nginx-ui
92+
93+
# Optionally remove the tap
94+
brew untap 0xjacky/tools
95+
```
96+
97+
::: warning
98+
99+
After uninstalling, configuration files and data will be preserved in:
100+
- **macOS**: `~/Library/Application Support/nginx-ui/`
101+
- **Linux**: `~/.local/share/nginx-ui/` or `~/.config/nginx-ui/`
102+
103+
If you want to completely remove all data, please delete these directories manually.
104+
105+
:::
44106

45107
## Install with Docker
46108

0 commit comments

Comments
 (0)