summaryrefslogtreecommitdiff
path: root/ntfy/server.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ntfy/server.yml')
-rw-r--r--ntfy/server.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/ntfy/server.yml b/ntfy/server.yml
new file mode 100644
index 0000000..29a6a83
--- /dev/null
+++ b/ntfy/server.yml
@@ -0,0 +1,15 @@
+# ntfy サーバー設定 https://docs.ntfy.sh/config/
+base-url: "https://ntfy.yyamashita.com"
+listen-http: ":80"
+behind-proxy: true
+
+cache-file: "/var/cache/ntfy/cache.db"
+cache-duration: "72h"
+attachment-cache-dir: "/var/cache/ntfy/attachments"
+
+# 認証必須。ユーザー・トークンは install.sh で作成する
+auth-file: "/var/lib/ntfy/user.db"
+auth-default-access: "deny-all"
+
+# iOS アプリで即時通知を受けるために ntfy.sh 経由で push をトリガーする(本文は送られない)
+upstream-base-url: "https://ntfy.sh"