Exempt Matrix server from ntfy rate limit (#2135)
* Exempt Matrix server from ntfy rate limit Add the matrix fqdn and localhost to ntfy's exemption list. Also allow all ntfy rate limits to be configured through Ansible variables. * Fix names and formatting * fixes * tabs not spaces * Lint * Use raw tags instead of bracket soup
This commit is contained in:
committed by
GitHub
parent
9c0cf5481a
commit
140acfcc5f
@ -2,3 +2,10 @@ base_url: {{ matrix_ntfy_base_url }}
|
||||
behind_proxy: true
|
||||
cache_file: /data/cache.db
|
||||
listen-http: :8080
|
||||
|
||||
# Rate Limits
|
||||
global-topic-limit: {{ matrix_ntfy_global_topic_limit | to_json }}
|
||||
visitor-subscription-limit: {{ matrix_ntfy_visitor_subscription_limit | to_json }}
|
||||
|
||||
visitor-request-limit-burst: {{ matrix_ntfy_visitor_request_limit_burst | to_json }}
|
||||
visitor-request-limit-replenish: "{{ matrix_ntfy_visitor_request_limit_replenish }}"
|
||||
|
Reference in New Issue
Block a user