# 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"