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
This commit is contained in:
Lunny Xiao
2024-09-25 17:11:33 +00:00
parent bbaeadb0c8
commit bea0fb7387
2 changed files with 2 additions and 2 deletions

View File

@@ -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`)

View File

@@ -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`)