config.yml 2.2 KB

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