From 6d0f78542f4c8bc9ca73dde0c6ed3671251fed20 Mon Sep 17 00:00:00 2001 From: techknowlogick Date: Mon, 17 Jun 2019 22:52:03 -0400 Subject: [PATCH] Add docs for `INTERNAL_TOKEN_URI` (#7234) --- docs/content/doc/advanced/config-cheat-sheet.en-us.md | 2 ++ 1 file changed, 2 insertions(+) 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`: **\**: Secret used to validate communication within Gitea binary. +- `INTERNAL_TOKEN_URI`: ****: 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`)