mirror of
https://github.com/YunoHost-Apps/discourse_ynh.git
synced 2024-09-03 18:26:18 +02:00
Update discourse_defaults.conf
This commit is contained in:
parent
0cb2b5cf47
commit
4bbaaaa64b
1 changed files with 15 additions and 3 deletions
|
@ -173,7 +173,7 @@ message_bus_redis_skip_client_commands = false
|
|||
enable_cors = false
|
||||
cors_origin = ''
|
||||
|
||||
# enable if you really need to serve assets in prd
|
||||
# enable if you really need to serve assets in prod
|
||||
serve_static_assets = true
|
||||
|
||||
# number of sidekiq workers (launched via unicorn master)
|
||||
|
@ -225,7 +225,7 @@ s3_install_cors_rule =
|
|||
max_user_api_reqs_per_minute = 20
|
||||
max_user_api_reqs_per_day = 2880
|
||||
|
||||
max_admin_api_reqs_per_key_per_minute = 60
|
||||
max_admin_api_reqs_per_minute = 60
|
||||
|
||||
max_reqs_per_ip_per_minute = 200
|
||||
max_reqs_per_ip_per_10_seconds = 50
|
||||
|
@ -239,6 +239,9 @@ max_reqs_per_ip_mode = block
|
|||
# bypass rate limiting any IP resolved as a private IP
|
||||
max_reqs_rate_limit_on_private = false
|
||||
|
||||
# use per user rate limits vs ip rate limits for users with this trust level or more.
|
||||
skip_per_ip_rate_limit_trust_level = 1
|
||||
|
||||
# logged in DoS protection
|
||||
|
||||
# protection will only trigger for requests that queue longer than this amount
|
||||
|
@ -315,7 +318,7 @@ anon_cache_store_threshold = 2
|
|||
# you may restrict it so only specific themes are approved
|
||||
# in allowlist mode all theme updates must happen via git repos
|
||||
# themes missing from the list are automatically disallowed
|
||||
# list is a comma seperated list of git repos eg:
|
||||
# list is a comma separated list of git repos eg:
|
||||
# https://github.com/discourse/discourse-custom-header-links.git,https://github.com/discourse/discourse-simple-theme.git
|
||||
allowed_theme_repos =
|
||||
|
||||
|
@ -336,3 +339,12 @@ max_digests_enqueued_per_30_mins_per_site = 10000
|
|||
# This cluster name can be passed to the /srv/status route to verify
|
||||
# the application cluster is the same one you are expecting
|
||||
cluster_name =
|
||||
|
||||
# The YAML file used to configure multisite clusters
|
||||
multisite_config_path = config/multisite.yml
|
||||
|
||||
# If false, only short (regular) polling will be attempted
|
||||
enable_long_polling =
|
||||
|
||||
# Length of time to hold open a long polling connection in milliseconds
|
||||
long_polling_interval =
|
||||
|
|
Loading…
Add table
Reference in a new issue