在线查看服务器 CPU、内存、系统负载、磁盘使用率等指标
在线 ChatGPT 助理
一键申请和自动续签 Let's encrypt 证书
在线编辑 Nginx 配置文件,编辑器支持 Nginx 配置语法高亮
在线查看 Nginx 日志
使用 Go 和 Vue 开发,发行版本为单个可执行的二进制文件
保存配置后自动测试配置文件并重载 Nginx
基于网页浏览器的高级命令行终端
支持深色模式
自适应网页设计
|
3 年之前 | |
---|---|---|
frontend | 3 年之前 | |
resources | 3 年之前 | |
server | 3 年之前 | |
.editorconfig | 4 年之前 | |
.gitignore | 3 年之前 | |
README-zh_CN.md | 3 年之前 | |
README.md | 3 年之前 | |
app.example.ini | 3 年之前 | |
go.mod | 3 年之前 | |
go.sum | 3 年之前 | |
install.sh | 3 年之前 | |
main.go | 3 年之前 | |
nginx-ui.service | 3 年之前 |
Yet another Nginx Web UI
Version: 1.2.0
Nginx UI 遵循 Nginx 的标准,创建的网站配置文件位于 Nginx 配置目录(自动检测)下的 sites-available
目录,
启用后的网站的配置文件将会创建一份软连接到 sites-enabled
目录中。因此,您可能需要提前调整配置文件的组织方式。
Nginx UI 可在以下平台中可用:
您可以在 latest release 中下载最新发行版本
bash <(curl -L -s https://raw.githubusercontent.com/0xJacky/nginx-ui/master/install.sh)
一键安装脚本默认设置的监听端口为 9000
,HTTP Challenge 端口默认为 9180
,
如果出现端口冲突请进入 /usr/local/etc/nginx-ui/app.ini
修改,并使用 systemctl restart nginx-ui
重启 Nginx UI 服务。
服务启动成功后,在浏览器中访问 http://<your_server_ip>:9000/install
完成后续配置
server {
listen 80;
listen [::]:80;
server_name <your_server_name>;
rewrite ^(.*)$ https://$host$1 permanent;
}
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
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 upgrade;
proxy_pass http://127.0.0.1:9000/;
}
}