2022-11-18 09:48:08 +01:00
|
|
|
# ntfy server config file
|
|
|
|
#
|
|
|
|
# Please refer to the documentation at https://ntfy.sh/docs/config/ for details.
|
|
|
|
# All options also support underscores (_) instead of dashes (-) to comply with the YAML spec.
|
|
|
|
|
2023-02-24 14:01:24 +01:00
|
|
|
cache-file: __INSTALL_DIR__/data/cache.db
|
2022-11-18 09:48:08 +01:00
|
|
|
cache-startup-queries: |
|
|
|
|
pragma journal_mode = WAL;
|
|
|
|
pragma synchronous = normal;
|
|
|
|
pragma temp_store = memory;
|
|
|
|
pragma busy_timeout = 15000;
|
|
|
|
vacuum;
|
|
|
|
|
2023-02-24 14:01:24 +01:00
|
|
|
auth-file: __INSTALL_DIR__/data/user.db
|
2022-11-18 09:48:08 +01:00
|
|
|
auth-default-access: "deny-all"
|
2023-02-20 16:35:48 +01:00
|
|
|
enable-login: true
|
2022-11-18 09:48:08 +01:00
|
|
|
|
2024-01-16 19:32:14 +01:00
|
|
|
# Tell ntfy to use "X-Forwarded-For" to identify visitors
|
|
|
|
behind-proxy: true
|
|
|
|
|
2023-02-24 14:01:24 +01:00
|
|
|
attachment-cache-dir: __INSTALL_DIR__/data/attachments
|
2022-11-18 09:48:08 +01:00
|
|
|
|
|
|
|
upstream-base-url: "https://ntfy.sh"
|