Skip to content

Commit 6d0f785

Browse files
Add docs for INTERNAL_TOKEN_URI (#7234)
1 parent 2e5da98 commit 6d0f785

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/content/doc/advanced/config-cheat-sheet.en-us.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,8 @@ Values containing `#` or `;` must be quoted using `` ` `` or `"""`.
195195
- `DISABLE_GIT_HOOKS`: **false**: Set to `true` to prevent all users (including admin) from creating custom
196196
git hooks.
197197
- `IMPORT_LOCAL_PATHS`: **false**: Set to `false` to prevent all users (including admin) from importing local path on server.
198+
- `INTERNAL_TOKEN`: **\<random at every install if no uri set\>**: Secret used to validate communication within Gitea binary.
199+
- `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`)
198200

199201
## OpenID (`openid`)
200202

0 commit comments

Comments
 (0)