mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: Allow a cluster_name to be configured and used for /srv/status (#12365)
The cluster name can be configured by setting the `DISCOURSE_CLUSTER_NAME` environment variable. If set, you can then call /srv/status with a `?cluster=` parameter. If the cluster does not match, an error will be returned. This is useful if you need a load balancer to be able to verify the identity, as well as the presence, of an application container.
This commit is contained in:
@@ -332,3 +332,7 @@ enable_email_sync_demon = false
|
||||
# this can easily lead to blocking sidekiq
|
||||
# on multisites we recommend a far lower number
|
||||
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 =
|
||||
|
||||
Reference in New Issue
Block a user