diff options
author | John Olheiser <john.olheiser@gmail.com> | 2020-06-02 20:21:38 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-02 21:21:38 -0400 |
commit | a6fd2f23f7e6bdc60c092207ac43af3a9a291f8f (patch) | |
tree | e9abecb2896bcb688235d8aba3a76281cde64873 /docs | |
parent | d0a18a12704360c06cf48b586956148a17a4505a (diff) | |
download | gitea-a6fd2f23f7e6bdc60c092207ac43af3a9a291f8f.tar.gz gitea-a6fd2f23f7e6bdc60c092207ac43af3a9a291f8f.zip |
Allow site admin to disable mirrors (#11740)
* Allow site admin to disable mirrors
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* No need to run through Safe
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Clarify only disabling NEW mirrors
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Apply suggestions from @guillep2k
Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/content/doc/advanced/config-cheat-sheet.en-us.md | 1 |
1 files changed, 1 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 c29151f648..0ed0d92033 100644 --- a/docs/content/doc/advanced/config-cheat-sheet.en-us.md +++ b/docs/content/doc/advanced/config-cheat-sheet.en-us.md @@ -70,6 +70,7 @@ Values containing `#` or `;` must be quoted using `` ` `` or `"""`. - `ENABLE_PUSH_CREATE_USER`: **false**: Allow users to push local repositories to Gitea and have them automatically created for a user. - `ENABLE_PUSH_CREATE_ORG`: **false**: Allow users to push local repositories to Gitea and have them automatically created for an org. - `PREFIX_ARCHIVE_FILES`: **true**: Prefix archive files by placing them in a directory named after the repository. +- `DISABLE_MIRRORS`: **false**: Disable the creation of **new** mirrors. Pre-existing mirrors remain valid. ### Repository - Pull Request (`repository.pull-request`) |