From c8f566a2d2ec3a47a0554e3a6fd95f0ac23a8aee Mon Sep 17 00:00:00 2001 From: techknowlogick Date: Mon, 17 Jun 2019 21:39:42 -0400 Subject: [PATCH 1/3] Add docs for `INTERNAL_TOKEN_URI` --- 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 ecc196c86e136..9bd36cd25c492 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`) From 0e95a6200f02396b1fc57e11bc0e7f91a3cf7a8a Mon Sep 17 00:00:00 2001 From: techknowlogick Date: Mon, 17 Jun 2019 21:56:35 -0400 Subject: [PATCH 2/3] Update docs/content/doc/advanced/config-cheat-sheet.en-us.md Co-Authored-By: Antoine GIRARD --- docs/content/doc/advanced/config-cheat-sheet.en-us.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 9bd36cd25c492..55fff4c940838 100644 --- a/docs/content/doc/advanced/config-cheat-sheet.en-us.md +++ b/docs/content/doc/advanced/config-cheat-sheet.en-us.md @@ -195,7 +195,7 @@ 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`: **\**: 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`) From 1bb7b455a3d3406b4545d3ec04f6b181604ad75e Mon Sep 17 00:00:00 2001 From: techknowlogick Date: Mon, 17 Jun 2019 21:57:06 -0400 Subject: [PATCH 3/3] Update docs/content/doc/advanced/config-cheat-sheet.en-us.md --- docs/content/doc/advanced/config-cheat-sheet.en-us.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 55fff4c940838..12cad995e5b80 100644 --- a/docs/content/doc/advanced/config-cheat-sheet.en-us.md +++ b/docs/content/doc/advanced/config-cheat-sheet.en-us.md @@ -196,7 +196,7 @@ Values containing `#` or `;` must be quoted using `` ` `` or `"""`. 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`) +- `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`)