diff options
author | Bill Wenrich <bwenrich@users.noreply.github.com> | 2022-10-11 09:12:44 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-11 21:12:44 +0800 |
commit | ea3c6c6d7b7b74e7fc9f731f4982b1060a653844 (patch) | |
tree | 5fe073e1416e6c5a0a233b66623d178a875f4236 /docs/content | |
parent | 8752d89be7958ea43dc29cc85de0b8f9dfc47c92 (diff) | |
download | gitea-ea3c6c6d7b7b74e7fc9f731f4982b1060a653844.tar.gz gitea-ea3c6c6d7b7b74e7fc9f731f4982b1060a653844.zip |
Improve clarity for camo proxy parameters (#21386)
Updates the Config Cheat Sheet for the `ALLWAYS` option in Camo proxy.
- Clarifies the behavior for true (both HTTP and HTTPS is proxied) vs
false (only HTTP is proxied)
- Minor grammar and typo improvements
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'docs/content')
-rw-r--r-- | docs/content/doc/advanced/config-cheat-sheet.en-us.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/content/doc/advanced/config-cheat-sheet.en-us.md b/docs/content/doc/advanced/config-cheat-sheet.en-us.md index 50571bd443..3fd853fb14 100644 --- a/docs/content/doc/advanced/config-cheat-sheet.en-us.md +++ b/docs/content/doc/advanced/config-cheat-sheet.en-us.md @@ -537,9 +537,9 @@ Certain queues have defaults that override the defaults set in `[queue]` (this o ## Camo (`camo`) - `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 https too lese only non https urls are proxyed +- `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 ## OpenID (`openid`) |