Skip to content

Commit faf2855

Browse files
author
Anthony Wang
committed
Add new federation settings to app.example.ini and config-cheat-sheet
1 parent a4403e4 commit faf2855

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

custom/conf/app.example.ini

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2248,6 +2248,18 @@ PATH =
22482248
;;
22492249
;; Enable/Disable user statistics for nodeinfo if federation is enabled
22502250
; SHARE_USER_STATISTICS = true
2251+
;;
2252+
;; HTTP signature algorithms
2253+
; ALGORITHMS = rsa-sha256, rsa-sha512
2254+
;;
2255+
;; HTTP signature digest algorithm
2256+
; DIGEST_ALGORITHM = SHA-256
2257+
;;
2258+
;; GET headers for federation requests
2259+
; GET_HEADERS = (request-target), Date
2260+
;;
2261+
;; POST headers for federation requests
2262+
; POST_HEADERS = (request-target), Date, Digest
22512263

22522264
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
22532265
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1087,6 +1087,10 @@ Task queue configuration has been moved to `queue.task`. However, the below conf
10871087

10881088
- `ENABLED`: **true**: Enable/Disable federation capabilities
10891089
- `SHARE_USER_STATISTICS`: **true**: Enable/Disable user statistics for nodeinfo if federation is enabled
1090+
- `ALGORITHMS`: **rsa-sha256, rsa-sha512**: HTTP signature algorithms
1091+
- `DIGEST_ALGORITHM`: **SHA-256**: HTTP signature digest algorithm
1092+
- `GET_HEADERS`: **(request-target), Date**: GET headers for federation requests
1093+
- `POST_HEADERS`: **(request-target), Date, Digest**: POST headers for federation requests
10901094

10911095
## Packages (`packages`)
10921096

0 commit comments

Comments
 (0)