mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-28 15:52:26 -05:00
[feature] request blocking by http headers (#2409)
This commit is contained in:
parent
07bd848028
commit
8ebb7775a3
36 changed files with 2561 additions and 81 deletions
|
|
@ -361,6 +361,7 @@ instance-deliver-to-shared-inboxes: true
|
|||
# Default: false
|
||||
instance-inject-mastodon-version: false
|
||||
|
||||
|
||||
###########################
|
||||
##### ACCOUNTS CONFIG #####
|
||||
###########################
|
||||
|
|
@ -1033,3 +1034,20 @@ advanced-sender-multiplier: 2
|
|||
# Example: ["s3.example.org", "some-bucket-name.s3.example.org"]
|
||||
# Default: []
|
||||
advanced-csp-extra-uris: []
|
||||
|
||||
# String. HTTP request header filtering mode to use for this instance.
|
||||
#
|
||||
# "block" -- only requests that are explicitly blocked by header filters
|
||||
# will be denied (unless they are also explicitly allowed).
|
||||
#
|
||||
# "allow" -- only requests that are explicitly allowed by header filters
|
||||
# will be accepted (unless they are also explicitly blocked).
|
||||
#
|
||||
# "" -- request header filtering disabled.
|
||||
#
|
||||
# For more details on block and allow modes, check the documentation at:
|
||||
# https://docs.gotosocial.org/en/latest/admin/request_filtering_modes
|
||||
#
|
||||
# Options: ["block", "allow", ""]
|
||||
# Default: ""
|
||||
advanced-header-filter-mode: ""
|
||||
Loading…
Add table
Add a link
Reference in a new issue