Browse Source

Add docs for `INTERNAL_TOKEN_URI` (#7234)

for-closed-social
techknowlogick 5 years ago
committed by GitHub
parent
commit
6d0f78542f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      docs/content/doc/advanced/config-cheat-sheet.en-us.md

+ 2
- 0
docs/content/doc/advanced/config-cheat-sheet.en-us.md View File

@ -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`)

Loading…
Cancel
Save