summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authortechknowlogick <techknowlogick@gitea.io>2019-06-17 22:52:03 -0400
committerGitHub <noreply@github.com>2019-06-17 22:52:03 -0400
commit6d0f78542f4c8bc9ca73dde0c6ed3671251fed20 (patch)
treee20bc402c7d7af2e175f11f4f622a45dd4e87c3e /docs
parent2e5da98ecb9f20b4d9464d3dd78159731ea16676 (diff)
downloadgitea-6d0f78542f4c8bc9ca73dde0c6ed3671251fed20.tar.gz
gitea-6d0f78542f4c8bc9ca73dde0c6ed3671251fed20.zip
Add docs for `INTERNAL_TOKEN_URI` (#7234)
Diffstat (limited to 'docs')
-rw-r--r--docs/content/doc/advanced/config-cheat-sheet.en-us.md2
1 files changed, 2 insertions, 0 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 ecc196c86e..12cad995e5 100644
--- a/docs/content/doc/advanced/config-cheat-sheet.en-us.md
+++ b/docs/content/doc/advanced/config-cheat-sheet.en-us.md
@@ -195,6 +195,8 @@ Values containing `#` or `;` must be quoted using `` ` `` or `"""`.
- `DISABLE_GIT_HOOKS`: **false**: Set to `true` to prevent all users (including admin) from creating custom
git hooks.
- `IMPORT_LOCAL_PATHS`: **false**: Set to `false` to prevent all users (including admin) from importing local path on server.
+- `INTERNAL_TOKEN`: **\<random at every install if no uri set\>**: Secret used to validate communication within Gitea binary.
+- `INTERNAL_TOKEN_URI`: **<empty>**: Instead of defining internal token in the configuration, this configuration option can be used to give Gitea a path to a file that contains the internal token (example value: `file:/etc/gitea/internal_token`)
## OpenID (`openid`)