1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2024-11-22 19:33:27 +01:00
This commit is contained in:
Philipp Heckel 2022-01-16 21:56:26 -05:00
parent e80c2c1a57
commit eb37c47ff5

View file

@ -24,17 +24,17 @@ get a list of [command line options](#command-line-options).
The most basic settings are `base-url` (the external URL of the ntfy server), the HTTP/HTTPS listen address (`listen-http`
and `listen-https`), and socket path (`listen-unix`). All the other things are additional features.
Here are two working sample configs:
Here are a few working sample configs:
=== "server.yml (HTTP-only, with cache + attachments)"
```
``` yaml
base-url: "http://ntfy.example.com"
cache-file: "/var/cache/ntfy/cache.db"
attachment-cache-dir: "/var/cache/ntfy/attachments"
```
=== "server.yml (HTTP+HTTPS, with cache + attachments)"
```
``` yaml
base-url: "http://ntfy.example.com"
listen-http: ":80"
listen-https: ":443"