chore: add cloud.nginxui.com

This commit is contained in:
Jacky 2025-05-02 12:08:55 +08:00
parent 274542fc7d
commit cf531e3f09
No known key found for this signature in database
GPG key ID: 215C21B10DF38B4D
28 changed files with 43 additions and 42 deletions

View file

@ -2066,8 +2066,8 @@ msgid "For Chinese user"
msgstr ""
#: 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
#, fuzzy

View file

@ -2120,8 +2120,8 @@ msgid "For Chinese user"
msgstr "Für chinesische Benutzer"
#: 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
#, fuzzy

View file

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

View file

@ -2082,8 +2082,8 @@ msgid "For Chinese user"
msgstr ""
#: 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
#, fuzzy

View file

@ -2135,8 +2135,8 @@ msgstr "Pour utilisateur chinois"
#: src/views/preference/tabs/HTTPSettings.vue:19
#, 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
#, fuzzy

View file

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

View file

@ -2055,8 +2055,8 @@ msgid "For Chinese user"
msgstr ""
#: 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
#, fuzzy

View file

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

View file

@ -2054,8 +2054,8 @@ msgid "For Chinese user"
msgstr ""
#: 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
#, fuzzy

View file

@ -2060,8 +2060,8 @@ msgid "For Chinese user"
msgstr "Для китайскоязычных пользователей"
#: 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
#, fuzzy

View file

@ -2094,8 +2094,8 @@ msgid "For Chinese user"
msgstr ""
#: 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
#, fuzzy

View file

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

View file

@ -2098,8 +2098,8 @@ msgstr ""
#: src/views/preference/tabs/HTTPSettings.vue:19
#, 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
#, fuzzy

View file

@ -1917,8 +1917,8 @@ msgid "For Chinese user"
msgstr "中国用户"
#: 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
msgid "Form parse failed"

View file

@ -1954,8 +1954,8 @@ msgid "For Chinese user"
msgstr "針對中國大陸使用者"
#: 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
msgid "Form parse failed"

View file

@ -16,7 +16,7 @@ const { data, errors } = storeToRefs(systemSettingsStore)
>
<AInput
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 :label="$gettext('Insecure Skip Verify')">

View file

@ -4,7 +4,7 @@
- Type: `string`
- 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
allows them to set a proxy for github.com to improve accessibility.

View file

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

View file

@ -21,7 +21,7 @@ install.sh install [OPTIONS]
|-----------------------|-----------------------------------------------------------------------------------------------------------------|
| `-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` |
| `-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

View file

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

View file

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

View file

@ -20,7 +20,7 @@ install.sh install [OPTIONS]
|-----------------------|---------------------------------------------------------------------------------------|
| `-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` |
| `-r, --reverse-proxy` | 通过反向代理服务器下载 (`string`)<br/>例如:`-r https://mirror.ghproxy.com/` |
| `-r, --reverse-proxy` | 通过反向代理服务器下载 (`string`)<br/>例如:`-r https://cloud.nginxui.com/` |
### 使用反向代理加速

View file

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

View file

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

View file

@ -20,7 +20,7 @@ install.sh install [OPTIONS]
|-----------------------|---------------------------------------------------------------------------------------|
| `-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` |
| `-r, --reverse-proxy` | 透過反向代理伺服器下載 (`string`)<br/>例如:`-r https://mirror.ghproxy.com/` |
| `-r, --reverse-proxy` | 透過反向代理伺服器下載 (`string`)<br/>例如:`-r https://cloud.nginxui.com/` |
### 快速使用

View file

@ -27,7 +27,7 @@ PROXY=''
# --reverse-proxy ?
# 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
# --purge
@ -382,7 +382,7 @@ show_help() {
echo ' install:'
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 ' -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 ' --purge Remove all the Nginx UI files, include logs, configs, etc'
exit 0

View file

@ -12,7 +12,7 @@ import (
const (
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 {

View file

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