mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-10-31 22:40:01 +00:00
[docs] Add IPv6 example for rate limit exceptions (#2761)
This commit is contained in:
parent
4a56f31047
commit
e6e696ae22
2 changed files with 10 additions and 2 deletions
|
@ -57,6 +57,10 @@ advanced-rate-limit-requests: 300
|
||||||
# applied on their requests, and rate limit headers will not be
|
# applied on their requests, and rate limit headers will not be
|
||||||
# set for those requests.
|
# set for those requests.
|
||||||
#
|
#
|
||||||
|
# For IPv6, we only take subnets up to a /64 into account. If you
|
||||||
|
# want to open up a larger prefix, you'll need to list multiple
|
||||||
|
# prefixes instead.
|
||||||
|
#
|
||||||
# This can be useful in the following example cases (and probably
|
# This can be useful in the following example cases (and probably
|
||||||
# a bunch of others as well):
|
# a bunch of others as well):
|
||||||
#
|
#
|
||||||
|
@ -76,7 +80,7 @@ advanced-rate-limit-requests: 300
|
||||||
# wide a range. If in doubt, be too restrictive rather than too
|
# wide a range. If in doubt, be too restrictive rather than too
|
||||||
# lenient, and adjust as you go.
|
# lenient, and adjust as you go.
|
||||||
#
|
#
|
||||||
# Example: ["192.168.0.0/16"]
|
# Example: ["192.168.0.0/16", "2001:DB8:FACE:CAFE::/64"]
|
||||||
# Default: []
|
# Default: []
|
||||||
advanced-rate-limit-exceptions: []
|
advanced-rate-limit-exceptions: []
|
||||||
|
|
||||||
|
|
|
@ -980,6 +980,10 @@ advanced-rate-limit-requests: 300
|
||||||
# applied on their requests, and rate limit headers will not be
|
# applied on their requests, and rate limit headers will not be
|
||||||
# set for those requests.
|
# set for those requests.
|
||||||
#
|
#
|
||||||
|
# For IPv6, we only take subnets up to a /64 into account. If you
|
||||||
|
# want to open up a larger prefix, you'll need to list multiple
|
||||||
|
# prefixes instead.
|
||||||
|
#
|
||||||
# This can be useful in the following example cases (and probably
|
# This can be useful in the following example cases (and probably
|
||||||
# a bunch of others as well):
|
# a bunch of others as well):
|
||||||
#
|
#
|
||||||
|
@ -999,7 +1003,7 @@ advanced-rate-limit-requests: 300
|
||||||
# wide a range. If in doubt, be too restrictive rather than too
|
# wide a range. If in doubt, be too restrictive rather than too
|
||||||
# lenient, and adjust as you go.
|
# lenient, and adjust as you go.
|
||||||
#
|
#
|
||||||
# Example: ["192.168.0.0/16"]
|
# Example: ["192.168.0.0/16", "2001:DB8:FACE:CAFE::/64"]
|
||||||
# Default: []
|
# Default: []
|
||||||
advanced-rate-limit-exceptions: []
|
advanced-rate-limit-exceptions: []
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue