diff options
author | Gusted <williamzijl7@hotmail.com> | 2022-06-20 01:48:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-20 07:48:17 +0800 |
commit | 02d745827bdbe01a82f9f069a904f53197252685 (patch) | |
tree | 76fafa40fe638203ea618122a033f04738301da1 /custom | |
parent | e91229eefbd09fecaebd0e058c3bfe7612a0bc61 (diff) | |
download | gitea-02d745827bdbe01a82f9f069a904f53197252685.tar.gz gitea-02d745827bdbe01a82f9f069a904f53197252685.zip |
Disable federation by default (#20045)
Diffstat (limited to 'custom')
-rw-r--r-- | custom/conf/app.example.ini | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/custom/conf/app.example.ini b/custom/conf/app.example.ini index c4b8913e41..80017a1176 100644 --- a/custom/conf/app.example.ini +++ b/custom/conf/app.example.ini @@ -2249,27 +2249,27 @@ PATH = ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; ;; Enable/Disable federation capabilities -; ENABLED = true +;ENABLED = false ;; ;; Enable/Disable user statistics for nodeinfo if federation is enabled -; SHARE_USER_STATISTICS = true +;SHARE_USER_STATISTICS = true ;; ;; Maximum federation request and response size (MB) -; MAX_SIZE = 4 +;MAX_SIZE = 4 ;; ;; WARNING: Changing the settings below can break federation. ;; ;; HTTP signature algorithms -; ALGORITHMS = rsa-sha256, rsa-sha512, ed25519 +;ALGORITHMS = rsa-sha256, rsa-sha512, ed25519 ;; ;; HTTP signature digest algorithm -; DIGEST_ALGORITHM = SHA-256 +;DIGEST_ALGORITHM = SHA-256 ;; ;; GET headers for federation requests -; GET_HEADERS = (request-target), Date +;GET_HEADERS = (request-target), Date ;; ;; POST headers for federation requests -; POST_HEADERS = (request-target), Date, Digest +;POST_HEADERS = (request-target), Date, Digest ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |