diff options
author | 2024-05-05 13:47:22 +0200 | |
---|---|---|
committer | 2024-05-05 11:47:22 +0000 | |
commit | 6171dcbe5109d7accbf44f19c20c9f4a0ee5e06f (patch) | |
tree | 9011f0050571f5a8c1c0e7bd90b74b2816dadd8a /docs/configuration | |
parent | [frontend] Do optimistic update when approving/rejecting/suspending account (... (diff) | |
download | gotosocial-6171dcbe5109d7accbf44f19c20c9f4a0ee5e06f.tar.xz |
[feature] Add HTTP header permission section to frontend (#2893)
* [feature] Add HTTP header filter section to frontend
* tweak naming a bit
Diffstat (limited to 'docs/configuration')
-rw-r--r-- | docs/configuration/advanced.md | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/docs/configuration/advanced.md b/docs/configuration/advanced.md index b97d8a6ba..88f4aff67 100644 --- a/docs/configuration/advanced.md +++ b/docs/configuration/advanced.md @@ -163,4 +163,23 @@ 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). +# This mode is considered experimental and will almost certainly +# break access to your instance unless you are very careful. +# +# "" -- 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: "" ``` |