1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ntfy_ynh.git synced 2024-09-03 19:46:27 +02:00
ntfy_ynh/conf/server.yml
2024-01-16 20:42:20 +01:00

26 lines
733 B
YAML

# 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.
base-url: "https://__DOMAIN__"
listen-http: "127.0.0.1:__PORT__"
cache-file: __INSTALL_DIR__/data/cache.db
cache-startup-queries: |
pragma journal_mode = WAL;
pragma synchronous = normal;
pragma temp_store = memory;
pragma busy_timeout = 15000;
vacuum;
auth-file: __INSTALL_DIR__/data/user.db
auth-default-access: "deny-all"
enable-login: true
# Tell ntfy to use "X-Forwarded-For" to identify visitors
behind-proxy: true
attachment-cache-dir: __INSTALL_DIR__/data/attachments
upstream-base-url: "https://ntfy.sh"