Pārlūkot izejas kodu

chore: add cloud.nginxui.com

Jacky 2 mēneši atpakaļ
vecāks
revīzija
cf531e3f09

+ 2 - 2
app/src/language/ar/app.po

@@ -2066,8 +2066,8 @@ msgid "For Chinese user"
 msgstr ""
 msgstr ""
 
 
 #: src/views/preference/tabs/HTTPSettings.vue:19
 #: src/views/preference/tabs/HTTPSettings.vue:19
-msgid "For Chinese user: https://mirror.ghproxy.com/"
-msgstr "للمستخدمين الصين: /https://mirror.ghproxy.com"
+msgid "For Chinese user: https://cloud.nginxui.com/"
+msgstr "للمستخدمين الصين: /https://cloud.nginxui.com"
 
 
 #: src/constants/errors/middleware.ts:4
 #: src/constants/errors/middleware.ts:4
 #, fuzzy
 #, fuzzy

+ 2 - 2
app/src/language/de_DE/app.po

@@ -2120,8 +2120,8 @@ msgid "For Chinese user"
 msgstr "Für chinesische Benutzer"
 msgstr "Für chinesische Benutzer"
 
 
 #: src/views/preference/tabs/HTTPSettings.vue:19
 #: src/views/preference/tabs/HTTPSettings.vue:19
-msgid "For Chinese user: https://mirror.ghproxy.com/"
-msgstr "Für chinesische Benutzer: https://mirror.ghproxy.com/"
+msgid "For Chinese user: https://cloud.nginxui.com/"
+msgstr "Für chinesische Benutzer: https://cloud.nginxui.com/"
 
 
 #: src/constants/errors/middleware.ts:4
 #: src/constants/errors/middleware.ts:4
 #, fuzzy
 #, fuzzy

+ 1 - 1
app/src/language/en/app.po

@@ -1896,7 +1896,7 @@ msgid "For Chinese user"
 msgstr ""
 msgstr ""
 
 
 #: src/views/preference/tabs/HTTPSettings.vue:19
 #: src/views/preference/tabs/HTTPSettings.vue:19
-msgid "For Chinese user: https://mirror.ghproxy.com/"
+msgid "For Chinese user: https://cloud.nginxui.com/"
 msgstr ""
 msgstr ""
 
 
 #: src/constants/errors/middleware.ts:4
 #: src/constants/errors/middleware.ts:4

+ 2 - 2
app/src/language/es/app.po

@@ -2082,8 +2082,8 @@ msgid "For Chinese user"
 msgstr ""
 msgstr ""
 
 
 #: src/views/preference/tabs/HTTPSettings.vue:19
 #: src/views/preference/tabs/HTTPSettings.vue:19
-msgid "For Chinese user: https://mirror.ghproxy.com/"
-msgstr "Para usuario chino: https://mirror.ghproxy.com/"
+msgid "For Chinese user: https://cloud.nginxui.com/"
+msgstr "Para usuario chino: https://cloud.nginxui.com/"
 
 
 #: src/constants/errors/middleware.ts:4
 #: src/constants/errors/middleware.ts:4
 #, fuzzy
 #, fuzzy

+ 2 - 2
app/src/language/fr_FR/app.po

@@ -2135,8 +2135,8 @@ msgstr "Pour utilisateur chinois"
 
 
 #: src/views/preference/tabs/HTTPSettings.vue:19
 #: src/views/preference/tabs/HTTPSettings.vue:19
 #, fuzzy
 #, fuzzy
-msgid "For Chinese user: https://mirror.ghproxy.com/"
-msgstr "Utilisateur chinois : https://mirror.ghproxy.com/"
+msgid "For Chinese user: https://cloud.nginxui.com/"
+msgstr "Utilisateur chinois : https://cloud.nginxui.com/"
 
 
 #: src/constants/errors/middleware.ts:4
 #: src/constants/errors/middleware.ts:4
 #, fuzzy
 #, fuzzy

+ 1 - 1
app/src/language/ja_JP/app.po

@@ -1969,7 +1969,7 @@ msgid "For Chinese user"
 msgstr ""
 msgstr ""
 
 
 #: src/views/preference/tabs/HTTPSettings.vue:19
 #: src/views/preference/tabs/HTTPSettings.vue:19
-msgid "For Chinese user: https://mirror.ghproxy.com/"
+msgid "For Chinese user: https://cloud.nginxui.com/"
 msgstr ""
 msgstr ""
 
 
 #: src/constants/errors/middleware.ts:4
 #: src/constants/errors/middleware.ts:4

+ 2 - 2
app/src/language/ko_KR/app.po

@@ -2055,8 +2055,8 @@ msgid "For Chinese user"
 msgstr ""
 msgstr ""
 
 
 #: src/views/preference/tabs/HTTPSettings.vue:19
 #: src/views/preference/tabs/HTTPSettings.vue:19
-msgid "For Chinese user: https://mirror.ghproxy.com/"
-msgstr "중국 사용자를 위해: https://mirror.ghproxy.com/"
+msgid "For Chinese user: https://cloud.nginxui.com/"
+msgstr "중국 사용자를 위해: https://cloud.nginxui.com/"
 
 
 #: src/constants/errors/middleware.ts:4
 #: src/constants/errors/middleware.ts:4
 #, fuzzy
 #, fuzzy

+ 1 - 1
app/src/language/messages.pot

@@ -1904,7 +1904,7 @@ msgid "For Chinese user"
 msgstr ""
 msgstr ""
 
 
 #: src/views/preference/tabs/HTTPSettings.vue:19
 #: src/views/preference/tabs/HTTPSettings.vue:19
-msgid "For Chinese user: https://mirror.ghproxy.com/"
+msgid "For Chinese user: https://cloud.nginxui.com/"
 msgstr ""
 msgstr ""
 
 
 #: src/constants/errors/middleware.ts:4
 #: src/constants/errors/middleware.ts:4

+ 2 - 2
app/src/language/pt_PT/app.po

@@ -2054,8 +2054,8 @@ msgid "For Chinese user"
 msgstr ""
 msgstr ""
 
 
 #: src/views/preference/tabs/HTTPSettings.vue:19
 #: src/views/preference/tabs/HTTPSettings.vue:19
-msgid "For Chinese user: https://mirror.ghproxy.com/"
-msgstr "Para Utilizador Chinês: https://mirror.ghproxy.com/"
+msgid "For Chinese user: https://cloud.nginxui.com/"
+msgstr "Para Utilizador Chinês: https://cloud.nginxui.com/"
 
 
 #: src/constants/errors/middleware.ts:4
 #: src/constants/errors/middleware.ts:4
 #, fuzzy
 #, fuzzy

+ 2 - 2
app/src/language/ru_RU/app.po

@@ -2060,8 +2060,8 @@ msgid "For Chinese user"
 msgstr "Для китайскоязычных пользователей"
 msgstr "Для китайскоязычных пользователей"
 
 
 #: src/views/preference/tabs/HTTPSettings.vue:19
 #: src/views/preference/tabs/HTTPSettings.vue:19
-msgid "For Chinese user: https://mirror.ghproxy.com/"
-msgstr "Для китайских пользователей: https://mirror.ghproxy.com/"
+msgid "For Chinese user: https://cloud.nginxui.com/"
+msgstr "Для китайских пользователей: https://cloud.nginxui.com/"
 
 
 #: src/constants/errors/middleware.ts:4
 #: src/constants/errors/middleware.ts:4
 #, fuzzy
 #, fuzzy

+ 2 - 2
app/src/language/tr_TR/app.po

@@ -2094,8 +2094,8 @@ msgid "For Chinese user"
 msgstr ""
 msgstr ""
 
 
 #: src/views/preference/tabs/HTTPSettings.vue:19
 #: src/views/preference/tabs/HTTPSettings.vue:19
-msgid "For Chinese user: https://mirror.ghproxy.com/"
-msgstr "Çinli kullanıcılar için: https://mirror.ghproxy.com/"
+msgid "For Chinese user: https://cloud.nginxui.com/"
+msgstr "Çinli kullanıcılar için: https://cloud.nginxui.com/"
 
 
 #: src/constants/errors/middleware.ts:4
 #: src/constants/errors/middleware.ts:4
 #, fuzzy
 #, fuzzy

+ 1 - 1
app/src/language/uk_UA/app.po

@@ -2036,7 +2036,7 @@ msgid "For Chinese user"
 msgstr ""
 msgstr ""
 
 
 #: src/views/preference/tabs/HTTPSettings.vue:19
 #: src/views/preference/tabs/HTTPSettings.vue:19
-msgid "For Chinese user: https://mirror.ghproxy.com/"
+msgid "For Chinese user: https://cloud.nginxui.com/"
 msgstr ""
 msgstr ""
 
 
 #: src/constants/errors/middleware.ts:4
 #: src/constants/errors/middleware.ts:4

+ 2 - 2
app/src/language/vi_VN/app.po

@@ -2098,8 +2098,8 @@ msgstr ""
 
 
 #: src/views/preference/tabs/HTTPSettings.vue:19
 #: src/views/preference/tabs/HTTPSettings.vue:19
 #, fuzzy
 #, fuzzy
-msgid "For Chinese user: https://mirror.ghproxy.com/"
-msgstr "Người dùng Trung Quốc: https://mirror.ghproxy.com/"
+msgid "For Chinese user: https://cloud.nginxui.com/"
+msgstr "Người dùng Trung Quốc: https://cloud.nginxui.com/"
 
 
 #: src/constants/errors/middleware.ts:4
 #: src/constants/errors/middleware.ts:4
 #, fuzzy
 #, fuzzy

+ 2 - 2
app/src/language/zh_CN/app.po

@@ -1917,8 +1917,8 @@ msgid "For Chinese user"
 msgstr "中国用户"
 msgstr "中国用户"
 
 
 #: src/views/preference/tabs/HTTPSettings.vue:19
 #: src/views/preference/tabs/HTTPSettings.vue:19
-msgid "For Chinese user: https://mirror.ghproxy.com/"
-msgstr "中国用户:https://mirror.ghproxy.com/"
+msgid "For Chinese user: https://cloud.nginxui.com/"
+msgstr "中国用户:https://cloud.nginxui.com/"
 
 
 #: src/constants/errors/middleware.ts:4
 #: src/constants/errors/middleware.ts:4
 msgid "Form parse failed"
 msgid "Form parse failed"

+ 2 - 2
app/src/language/zh_TW/app.po

@@ -1954,8 +1954,8 @@ msgid "For Chinese user"
 msgstr "針對中國大陸使用者"
 msgstr "針對中國大陸使用者"
 
 
 #: src/views/preference/tabs/HTTPSettings.vue:19
 #: src/views/preference/tabs/HTTPSettings.vue:19
-msgid "For Chinese user: https://mirror.ghproxy.com/"
-msgstr "中國使用者:https://mirror.ghproxy.com/"
+msgid "For Chinese user: https://cloud.nginxui.com/"
+msgstr "中國使用者:https://cloud.nginxui.com/"
 
 
 #: src/constants/errors/middleware.ts:4
 #: src/constants/errors/middleware.ts:4
 msgid "Form parse failed"
 msgid "Form parse failed"

+ 1 - 1
app/src/views/preference/tabs/HTTPSettings.vue

@@ -16,7 +16,7 @@ const { data, errors } = storeToRefs(systemSettingsStore)
     >
     >
       <AInput
       <AInput
         v-model:value="data.http.github_proxy"
         v-model:value="data.http.github_proxy"
-        :placeholder="$gettext('For Chinese user: https://mirror.ghproxy.com/')"
+        :placeholder="$gettext('For Chinese user: https://cloud.nginxui.com/')"
       />
       />
     </AFormItem>
     </AFormItem>
     <AFormItem :label="$gettext('Insecure Skip Verify')">
     <AFormItem :label="$gettext('Insecure Skip Verify')">

+ 1 - 1
docs/guide/config-http.md

@@ -4,7 +4,7 @@
 
 
 - Type: `string`
 - Type: `string`
 - Version: `>= v2.0.0-beta.37`
 - Version: `>= v2.0.0-beta.37`
-- Suggestion: `https://mirror.ghproxy.com/`
+- Suggestion: `https://cloud.nginxui.com/`
 
 
 For users who may experience difficulties downloading resources from GitHub (such as in mainland China), this option
 For users who may experience difficulties downloading resources from GitHub (such as in mainland China), this option
 allows them to set a proxy for github.com to improve accessibility.
 allows them to set a proxy for github.com to improve accessibility.

+ 1 - 1
docs/guide/config-server.md

@@ -162,7 +162,7 @@ CADir needs to comply with the `RFC 8555` standard.
 ## GithubProxy
 ## GithubProxy
 
 
 - Type: `string`
 - Type: `string`
-- Suggestion: `https://mirror.ghproxy.com/`
+- Suggestion: `https://cloud.nginxui.com/`
 
 
 ::: warning
 ::: warning
 Deprecated in `v2.0.0-beta.37`, please use `Http.GithubProxy` instead.
 Deprecated in `v2.0.0-beta.37`, please use `Http.GithubProxy` instead.

+ 1 - 1
docs/guide/install-script-linux.md

@@ -21,7 +21,7 @@ install.sh install [OPTIONS]
 |-----------------------|-----------------------------------------------------------------------------------------------------------------|
 |-----------------------|-----------------------------------------------------------------------------------------------------------------|
 | `-l, --local <file>`  | Install Nginx UI from a local file (`string`)                                                                   |
 | `-l, --local <file>`  | Install Nginx UI from a local file (`string`)                                                                   |
 | `-p, --proxy <url>`   | Download through a proxy server (`string`)<br/>e.g., `-p http://127.0.0.1:8118` or `-p socks5://127.0.0.1:1080` |
 | `-p, --proxy <url>`   | Download through a proxy server (`string`)<br/>e.g., `-p http://127.0.0.1:8118` or `-p socks5://127.0.0.1:1080` |
-| `-r, --reverse-proxy` | Download through a reverse proxy server (`string`)<br/>e.g., `-r https://mirror.ghproxy.com/`                          |
+| `-r, --reverse-proxy` | Download through a reverse proxy server (`string`)<br/>e.g., `-r https://cloud.nginxui.com/`                          |
 
 
 
 
 ### Quick Usage
 ### Quick Usage

+ 1 - 1
docs/zh_CN/guide/config-http.md

@@ -3,7 +3,7 @@
 ## GithubProxy
 ## GithubProxy
 - 版本: `>= v2.0.0-beta.37`
 - 版本: `>= v2.0.0-beta.37`
 - 类型:`string`
 - 类型:`string`
-- 建议:`https://mirror.ghproxy.com/`
+- 建议:`https://cloud.nginxui.com/`
 
 
 - 对于可能在从 Github 下载资源时遇到困难的用户(如在中国大陆),此选项允许他们为 github.com 设置代理,以提高可访问性。
 - 对于可能在从 Github 下载资源时遇到困难的用户(如在中国大陆),此选项允许他们为 github.com 设置代理,以提高可访问性。
 
 

+ 1 - 1
docs/zh_CN/guide/config-server.md

@@ -151,7 +151,7 @@ JWT 是一种用于验证用户身份的标准,它可以在用户登录后生
 ## GithubProxy
 ## GithubProxy
 
 
 - 类型:`string`
 - 类型:`string`
-- 建议:`https://mirror.ghproxy.com/`
+- 建议:`https://cloud.nginxui.com/`
 
 
 ::: warning 警告
 ::: warning 警告
 已在 `v2.0.0-beta.37` 中废弃,请使用 `Http.GithubProxy` 替代。
 已在 `v2.0.0-beta.37` 中废弃,请使用 `Http.GithubProxy` 替代。

+ 1 - 1
docs/zh_CN/guide/install-script-linux.md

@@ -20,7 +20,7 @@ install.sh install [OPTIONS]
 |-----------------------|---------------------------------------------------------------------------------------|
 |-----------------------|---------------------------------------------------------------------------------------|
 | `-l, --local <file>`  | 从本地文件安装 Nginx UI (`string`)                                                           |
 | `-l, --local <file>`  | 从本地文件安装 Nginx UI (`string`)                                                           |
 | `-p, --proxy <url>`   | 通过代理服务器下载 (`string`)<br/>例如:`-p http://127.0.0.1:8118` 或 `-p socks5://127.0.0.1:1080` |
 | `-p, --proxy <url>`   | 通过代理服务器下载 (`string`)<br/>例如:`-p http://127.0.0.1:8118` 或 `-p socks5://127.0.0.1:1080` |
-| `-r, --reverse-proxy` | 通过反向代理服务器下载 (`string`)<br/>例如:`-r https://mirror.ghproxy.com/`                               |
+| `-r, --reverse-proxy` | 通过反向代理服务器下载 (`string`)<br/>例如:`-r https://cloud.nginxui.com/`                               |
 
 
 ### 使用反向代理加速
 ### 使用反向代理加速
 
 

+ 1 - 1
docs/zh_TW/guide/config-http.md

@@ -3,7 +3,7 @@
 ## GithubProxy
 ## GithubProxy
 - 版本:`>= v2.0.0-beta.37`
 - 版本:`>= v2.0.0-beta.37`
 - 類型:`string`
 - 類型:`string`
-- 建議:`https://mirror.ghproxy.com/`
+- 建議:`https://cloud.nginxui.com/`
 
 
 對於可能在從 Github 下載資源時遇到困難的使用者(如在中國大陸),此選項允許他們為 github.com 設定代理,以提高可存取性。
 對於可能在從 Github 下載資源時遇到困難的使用者(如在中國大陸),此選項允許他們為 github.com 設定代理,以提高可存取性。
 
 

+ 1 - 1
docs/zh_TW/guide/config-server.md

@@ -148,7 +148,7 @@ JWT 是一種用於驗證使用者身份的標準,它可以在使用者登入
 ## GithubProxy
 ## GithubProxy
 
 
 - 類型:`string`
 - 類型:`string`
-- 建議:`https://mirror.ghproxy.com/`
+- 建議:`https://cloud.nginxui.com/`
 
 
 ::: warning 警告
 ::: warning 警告
 已在 `v2.0.0-beta.37` 中廢棄,請使用 `Http.GithubProxy` 取代。
 已在 `v2.0.0-beta.37` 中廢棄,請使用 `Http.GithubProxy` 取代。

+ 1 - 1
docs/zh_TW/guide/install-script-linux.md

@@ -20,7 +20,7 @@ install.sh install [OPTIONS]
 |-----------------------|---------------------------------------------------------------------------------------|
 |-----------------------|---------------------------------------------------------------------------------------|
 | `-l, --local <file>`  | 從本機檔案安裝 Nginx UI (`string`)                                                           |
 | `-l, --local <file>`  | 從本機檔案安裝 Nginx UI (`string`)                                                           |
 | `-p, --proxy <url>`   | 透過代理伺服器下載 (`string`)<br/>例如:`-p http://127.0.0.1:8118` 或 `-p socks5://127.0.0.1:1080` |
 | `-p, --proxy <url>`   | 透過代理伺服器下載 (`string`)<br/>例如:`-p http://127.0.0.1:8118` 或 `-p socks5://127.0.0.1:1080` |
-| `-r, --reverse-proxy` | 透過反向代理伺服器下載 (`string`)<br/>例如:`-r https://mirror.ghproxy.com/`                               |
+| `-r, --reverse-proxy` | 透過反向代理伺服器下載 (`string`)<br/>例如:`-r https://cloud.nginxui.com/`                               |
 
 
 
 
 ### 快速使用
 ### 快速使用

+ 2 - 2
install.sh

@@ -27,7 +27,7 @@ PROXY=''
 
 
 # --reverse-proxy ?
 # --reverse-proxy ?
 # You can set this variable whatever you want in shell session right before running this script by issuing:
 # You can set this variable whatever you want in shell session right before running this script by issuing:
-# export GH_PROXY='https://mirror.ghproxy.com/'
+# export GH_PROXY='https://cloud.nginxui.com/'
 RPROXY=$GH_PROXY
 RPROXY=$GH_PROXY
 
 
 # --purge
 # --purge
@@ -382,7 +382,7 @@ show_help() {
     echo '  install:'
     echo '  install:'
     echo '    -l, --local               Install Nginx UI from a local file'
     echo '    -l, --local               Install Nginx UI from a local file'
     echo '    -p, --proxy               Download through a proxy server, e.g., -p http://127.0.0.1:8118 or -p socks5://127.0.0.1:1080'
     echo '    -p, --proxy               Download through a proxy server, e.g., -p http://127.0.0.1:8118 or -p socks5://127.0.0.1:1080'
-    echo '    -r, --reverse-proxy       Download through a reverse proxy server, e.g., -r https://mirror.ghproxy.com/'
+    echo '    -r, --reverse-proxy       Download through a reverse proxy server, e.g., -r https://cloud.nginxui.com/'
     echo '  remove:'
     echo '  remove:'
     echo '    --purge                   Remove all the Nginx UI files, include logs, configs, etc'
     echo '    --purge                   Remove all the Nginx UI files, include logs, configs, etc'
     exit 0
     exit 0

+ 1 - 1
internal/version/dev_build.go

@@ -12,7 +12,7 @@ import (
 
 
 const (
 const (
 	GithubDevCommitAPI  = "https://api.github.com/repos/0xJacky/nginx-ui/commits/dev?per_page=1"
 	GithubDevCommitAPI  = "https://api.github.com/repos/0xJacky/nginx-ui/commits/dev?per_page=1"
-	CloudflareWorkerAPI = "https://nginx-ui-proxy.langgood.com"
+	CloudflareWorkerAPI = "https://cloud.nginxui.com"
 )
 )
 
 
 type TCommit struct {
 type TCommit struct {

+ 4 - 3
settings/server_v1_test.go

@@ -1,10 +1,11 @@
 package settings
 package settings
 
 
 import (
 import (
-	"github.com/stretchr/testify/assert"
-	"github.com/uozi-tech/cosy/logger"
 	"os"
 	"os"
 	"testing"
 	"testing"
+
+	"github.com/stretchr/testify/assert"
+	"github.com/uozi-tech/cosy/logger"
 )
 )
 
 
 func TestDeprecatedEnvMigration(t *testing.T) {
 func TestDeprecatedEnvMigration(t *testing.T) {
@@ -60,7 +61,7 @@ HTTPChallengePort    = 9181
 StartCmd             = bash
 StartCmd             = bash
 Database             = database
 Database             = database
 CADir                = /test
 CADir                = /test
-GithubProxy          = https://mirror.ghproxy.com/
+GithubProxy          = https://cloud.nginxui.com/
 Secret               = newSecret
 Secret               = newSecret
 Demo                 = false
 Demo                 = false
 PageSize             = 20
 PageSize             = 20