Bladeren bron

chore: update docs

Jacky 3 weken geleden
bovenliggende
commit
ae16ca4139
11 gewijzigde bestanden met toevoegingen van 62 en 17 verwijderingen
  1. 4 1
      README-zh_CN.md
  2. 4 1
      README-zh_TW.md
  3. 5 2
      README.md
  4. 1 1
      app/src/version.json
  5. 5 2
      docs/guide/about.md
  6. 11 2
      docs/index.md
  7. 5 2
      docs/zh_CN/guide/about.md
  8. 11 2
      docs/zh_CN/index.md
  9. 5 2
      docs/zh_TW/guide/about.md
  10. 10 1
      docs/zh_TW/index.md
  11. 1 1
      router/routers_embed.go

+ 4 - 1
README-zh_CN.md

@@ -73,7 +73,10 @@ Nginx 网络管理界面,由  [0xJacky](https://jackyu.cn/) 与 [Hintay](https
 ### 特色
 
 - 在线查看服务器 CPU、内存、系统负载、磁盘使用率等指标
-- 在线 ChatGPT 助理
+- 配置修改后会自动备份,可以对比任意版本或恢复到任意版本
+- 支持镜像操作到多个集群节点,轻松管理多服务器环境
+- 导出加密的 Nginx/NginxUI 配置,方便快速部署和恢复到新环境
+- 增强版在线 ChatGPT 助手,支持多种模型,包括显示 Deepseek-R1 的思考链,帮助您更好地理解和优化配置
 - 一键申请和自动续签 Let's encrypt 证书
 - 在线编辑 Nginx 配置文件,编辑器支持 Nginx 配置语法高亮
 - 在线查看 Nginx 日志

+ 4 - 1
README-zh_TW.md

@@ -75,7 +75,10 @@ Nginx 網路管理介面,由 [0xJacky](https://jackyu.cn/) 與 [Hintay](https:
 ### 特色
 
 - 線上檢視伺服器 CPU、記憶體、系統負載、磁碟使用率等指標
-- 線上 ChatGPT 助理
+- 配置修改後會自動備份,可以對比任意版本或恢復到任意版本
+- 支援鏡像操作到多個集群節點,輕鬆管理多伺服器環境
+- 導出加密的 Nginx/NginxUI 配置,方便快速部署和恢復到新環境
+- 增強版線上 ChatGPT 助手,支援多種模型,包括顯示 Deepseek-R1 的思考鏈,幫助您更好地理解和優化配置
 - 一鍵申請和自動續簽 Let's encrypt 憑證
 - 線上編輯 Nginx 設定檔,編輯器支援 Nginx 設定語法醒目提示
 - 線上檢視 Nginx 日誌

+ 5 - 2
README.md

@@ -90,7 +90,10 @@ URL:[https://demo.nginxui.com](https://demo.nginxui.com)
 ### Features
 
 - Online statistics for server indicators such as CPU usage, memory usage, load average, and disk usage.
-- Online ChatGPT Assistant
+- 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/NginxUI 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
 - 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 highlighting nginx configuration syntax.
 - Online view Nginx logs
@@ -108,7 +111,7 @@ We proudly offer official support for:
 - 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!
+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](https://weblate.nginxui.com).
 

+ 1 - 1
app/src/version.json

@@ -1 +1 @@
-{"version":"2.0.0-rc.5","build_id":11,"total_build":405}
+{"version":"2.0.0-rc.5","build_id":12,"total_build":406}

+ 5 - 2
docs/guide/about.md

@@ -49,7 +49,10 @@ managing your Nginx server.
 ## Features
 
 - Online statistics for server indicators such as CPU usage, memory usage, load average, and disk usage.
-- Online ChatGPT Assistant.
+- Configurations are automatically backed up after modifications, allowing you to compare any versions or restore to any previous version.
+- Support for mirroring operations to multiple cluster nodes, easily manage multi-server environments.
+- Export encrypted Nginx/NginxUI configurations for quick deployment and recovery to new environments.
+- Enhanced Online ChatGPT Assistant with support for multiple models, including displaying Deepseek-R1's chain of thought to help you better understand and optimize configurations.
 - 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 highlighting nginx configuration syntax.
@@ -80,7 +83,7 @@ We proudly offer official support for:
 - 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!
+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](https://weblate.nginxui.com).
 

+ 11 - 2
docs/index.md

@@ -24,9 +24,18 @@ features:
     -   icon: 📊
         title: Online Statistics for Server Indicators
         details: Monitor CPU usage, memory usage, load average, and disk usage in real-time.
+    -   icon: 💾
+        title: Automatic Configuration Backup
+        details: Configurations are automatically backed up after modifications, allowing you to compare any versions or restore to any previous version.
+    -   icon: 🔄
+        title: Cluster Management
+        details: Support for mirroring operations to multiple cluster nodes, easily manage multi-server environments.
+    -   icon: 📤
+        title: Encrypted Configuration Export
+        details: Export encrypted Nginx/NginxUI configurations for quick deployment and recovery to new environments.
     -   icon: 💬
-        title: Online ChatGPT Assistant
-        details: Get assistance from an AI-powered ChatGPT directly within the platform.
+        title: Enhanced Online ChatGPT Assistant
+        details: Support for multiple models, including displaying Deepseek-R1's chain of thought to help you better understand and optimize configurations.
     -   icon: 🖱️
         title: One-Click Deployment and Automatic Renewal
         details: Easily deploy and auto-renew Let's Encrypt certificates with just one click.

+ 5 - 2
docs/zh_CN/guide/about.md

@@ -13,7 +13,7 @@ const members = [
       { icon: { svg: blogIcon }, link: 'https://jackyu.cn' }
     ]
   },
-{
+  {
     avatar: 'https://www.github.com/Hintay.png',
     name: 'Hintay',
     title: '开发者',
@@ -47,7 +47,10 @@ Nginx UI 是一个全新的 Nginx 网络管理界面,旨在简化 Nginx 服务
 ## 特色
 
 - 在线查看服务器 CPU、内存、系统负载、磁盘使用率等指标
-- 在线 ChatGPT 助理
+- 配置修改后会自动备份,可以对比任意版本或恢复到任意版本
+- 支持镜像操作到多个集群节点,轻松管理多服务器环境
+- 导出加密的 Nginx/NginxUI 配置,方便快速部署和恢复到新环境
+- 增强版在线 ChatGPT 助手,支持多种模型,包括显示 Deepseek-R1 的思考链,帮助您更好地理解和优化配置
 - 一键申请和自动续签 Let's encrypt 证书
 - 在线编辑 Nginx 配置文件,编辑器支持 Nginx 配置语法高亮
 - 在线查看 Nginx 日志

+ 11 - 2
docs/zh_CN/index.md

@@ -24,9 +24,18 @@ features:
     -   icon: 📊
         title: 服务器指标在线统计
         details: 实时监控 CPU 使用率、内存使用率、平均负载和磁盘使用情况。
+    -   icon: 💾
+        title: 配置文件自动备份
+        details: 配置修改后会自动备份,可以对比任意版本或恢复到任意版本。
+    -   icon: 🔄
+        title: 集群管理
+        details: 支持镜像操作到多个集群节点,轻松管理多服务器环境。
+    -   icon: 📤
+        title: 导出加密配置
+        details: 导出加密的 Nginx/NginxUI 配置,方便快速部署和恢复到新环境。
     -   icon: 💬
-        title: 在线 ChatGPT 助手
-        details: 在平台内直接获得 AI 驱动的 ChatGPT 帮助。
+        title: 增强版在线 ChatGPT 助手
+        details: 支持多种模型,包括显示 Deepseek-R1 的思考链,帮助您更好地理解和优化配置
     -   icon: 🖱️
         title: 一键部署和自动续期
         details: 只需一键即可轻松部署和自动续期 Let's Encrypt 证书。

+ 5 - 2
docs/zh_TW/guide/about.md

@@ -37,7 +37,7 @@ const members = [
 
 Nginx UI 是一個全新的 Nginx 網路管理介面,旨在簡化 Nginx 伺服器的管理和配置。它提供實時伺服器統計資料、ChatGPT
 助手、一鍵部署、Let's Encrypt 證書的自動續簽以及使用者友好的網站配置編輯工具。此外,Nginx UI 還提供了線上訪問 Nginx
-日誌、配置檔案的自動測試和載、網路終端、深色模式和自適應網頁設計等功能。Nginx UI 採用 Go 和 Vue 構建,確保在管理 Nginx
+日誌、配置檔案的自動測試和載、網路終端、深色模式和自適應網頁設計等功能。Nginx UI 採用 Go 和 Vue 構建,確保在管理 Nginx
 伺服器時提供無縫高效的體驗。
 
 ## 我們的團隊
@@ -47,7 +47,10 @@ Nginx UI 是一個全新的 Nginx 網路管理介面,旨在簡化 Nginx 伺服
 ## 特色
 
 - 線上檢視伺服器 CPU、記憶體、系統負載、磁碟使用率等指標
-- 線上 ChatGPT 助理
+- 配置修改後會自動備份,可以對比任意版本或恢復到任意版本
+- 支持鏡像操作到多個集群節點,輕鬆管理多伺服器環境
+- 導出加密的 Nginx/NginxUI 配置,方便快速部署和恢復到新環境
+- 增強版在線 ChatGPT 助手,支持多種模型,包括顯示 Deepseek-R1 的思考鏈,幫助您更好地理解和優化配置
 - 一鍵申請和自動續簽 Let's encrypt 憑證
 - 線上編輯 Nginx 配置檔案,編輯器支援 Nginx 配置語法突顯
 - 線上檢視 Nginx 日誌

+ 10 - 1
docs/zh_TW/index.md

@@ -24,9 +24,18 @@ features:
     -   icon: 📊
         title: 伺服器指標的在線統計
         details: 實時監控 CPU 使用率、內存使用率、平均負載和磁盤使用情況。
+    -   icon: 💾
+        title: 配置文件自動備份
+        details: 配置修改後會自動備份,可以對比任意版本或恢復到任意版本。
+    -   icon: 🔄
+        title: 集群管理
+        details: 支持鏡像操作到多個集群節點,輕鬆管理多伺服器環境。
+    -   icon: 📤
+        title: 導出加密配置
+        details: 導出加密的 Nginx/NginxUI 配置,方便快速部署和恢復到新環境。
     -   icon: 💬
         title: 在線 ChatGPT 助手
-        details: 在平台內直接獲取 AI 驅動的 ChatGPT 助手的幫助。
+        details: 支持多種模型,包括顯示 Deepseek-R1 的思考鏈,幫助您更好地理解和優化配置
     -   icon: 🖱️
         title: 一鍵部署和自動續期
         details: 只需一鍵即可輕鬆部署和自動續期 Let's Encrypt 證書。

+ 1 - 1
router/routers_embed.go

@@ -11,5 +11,5 @@ import (
 func initEmbedRoute(r *gin.Engine) {
 	r.Use(middleware.CacheJs())
 
-	r.GET("/", middleware.IPWhiteList(), static.Serve("/", middleware.MustFs("")))
+	r.Use(static.Serve("/", middleware.MustFs("")))
 }