[feature] Allow turning empty user-agent filtering off

This commit is contained in:
tobi 2025-09-16 15:11:45 +02:00
commit 6df577696b
9 changed files with 101 additions and 12 deletions

View file

@ -229,4 +229,15 @@ instance-stats-mode: ""
# Options: [true, false]
# Default: true
instance-allow-backdating-statuses: true
# Bool. If set to true, then any HTTP requests coming into the instance,
# whether by client, web browser, or server-to-server requests, will be
# rejected if they do not identify themselves by setting a value on the
# request's User-Agent header. Since almost all HTTP clients provide
# *something* as a User-Agent value, leaving this set to "true" will
# likely not cause issues, but you can turn it off if necessary.
#
# Options: [true, false]
# Default: true
instance-reject-empty-user-agents: true
```