config.yml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. # ntfy config file
  2. # Listen address for the HTTP web server
  3. # Format: <hostname>:<port>
  4. #
  5. # listen-http: ":80"
  6. # If set, also publish messages to a Firebase Cloud Messaging (FCM) topic for your app.
  7. # This is optional and only required to support Android apps (which don't allow background services anymore).
  8. #
  9. # firebase-key-file: <filename>
  10. # If set, messages are cached in a local SQLite database instead of only in-memory. This
  11. # allows for service restarts without losing messages in support of the since= parameter.
  12. #
  13. # cache-file: <filename>
  14. # Duration for which messages will be buffered before they are deleted.
  15. # This is required to support the "since=..." and "poll=1" parameter.
  16. #
  17. # cache-duration: 12h
  18. # Interval in which keepalive messages are sent to the client. This is to prevent
  19. # intermediaries closing the connection for inactivity.
  20. #
  21. # keepalive-interval: 30s
  22. # Interval in which the manager prunes old messages, deletes topics
  23. # and prints the stats.
  24. #
  25. # manager-interval: 1m
  26. # Rate limiting: Total number of topics before the server rejects new topics.
  27. #
  28. # global-topic-limit: 5000
  29. # Rate limiting: Number of subscriptions per visitor (IP address)
  30. #
  31. # visitor-subscription-limit: 30
  32. # Rate limiting: Allowed GET/PUT/POST requests per second, per visitor:
  33. # - visitor-request-limit-burst is the initial bucket of requests each visitor has
  34. # - visitor-request-limit-replenish is the rate at which the bucket is refilled
  35. #
  36. # visitor-request-limit-burst: 60
  37. # visitor-request-limit-replenish: 10s
  38. # If set, the X-Forwarded-For header is used to determine the visitor IP address
  39. # instead of the remote address of the connection.
  40. #
  41. # WARNING: If you are behind a proxy, you must set this, otherwise all visitors are rate limited
  42. # as if they are one.
  43. #
  44. # behind-proxy: false