From bea0fb7387d9257e2f87cf16f9d42894fccb89c0 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Wed, 25 Sep 2024 17:11:33 +0000 Subject: [PATCH] Use camo.Always instead of camo.Allways (#73) ref: https://github.com/go-gitea/gitea/pull/32097 Reviewed-on: https://gitea.com/gitea/docs/pulls/73 --- docs/administration/config-cheat-sheet.md | 2 +- .../current/administration/config-cheat-sheet.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/administration/config-cheat-sheet.md b/docs/administration/config-cheat-sheet.md index 85bde7fb..93fc0163 100644 --- a/docs/administration/config-cheat-sheet.md +++ b/docs/administration/config-cheat-sheet.md @@ -595,7 +595,7 @@ And the following unique queues: - `ENABLED`: **false**: Enable media proxy, we support images only at the moment. - `SERVER_URL`: **_empty_**: URL of camo server, it **is required** if camo is enabled. - `HMAC_KEY`: **_empty_**: Provide the HMAC key for encoding URLs, it **is required** if camo is enabled. -- `ALLWAYS`: **false**: Set to true to use camo for both HTTP and HTTPS content, otherwise only non-HTTPS URLs are proxied +- `ALWAYS`: **false**: Set to true to use camo for both HTTP and HTTPS content, otherwise only non-HTTPS URLs are proxied. `ALLWAYS` is deprecated and will be removed in a future release. ## OpenID (`openid`) diff --git a/i18n/zh-cn/docusaurus-plugin-content-docs/current/administration/config-cheat-sheet.md b/i18n/zh-cn/docusaurus-plugin-content-docs/current/administration/config-cheat-sheet.md index e666f057..04fa9ab7 100644 --- a/i18n/zh-cn/docusaurus-plugin-content-docs/current/administration/config-cheat-sheet.md +++ b/i18n/zh-cn/docusaurus-plugin-content-docs/current/administration/config-cheat-sheet.md @@ -551,7 +551,7 @@ Gitea 创建以下非唯一队列: - `ENABLED`: **false**:启用媒体代理,目前仅支持图像。 - `SERVER_URL`: **_empty_**:Camo服务器的URL,如果启用camo,则**必填**。 - `HMAC_KEY`: **_empty_**:为URL编码提供HMAC密钥,如果启用camo,则**必填**。 -- `ALLWAYS`: **false**:设置为true以在HTTP和HTTPS内容上使用camo,否则仅代理非HTTPS URL。 +- `ALWAYS`: **false**:设置为true以在HTTP和HTTPS内容上使用camo,否则仅代理非HTTPS URL。`ALLWAYS` 已经过期,并且会在未来版本中删除。 ## OpenID (`openid`)