This commit is contained in:
Philipp Heckel 2022-01-16 21:56:26 -05:00
parent e80c2c1a57
commit eb37c47ff5
1 changed files with 3 additions and 3 deletions

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"