Typo
parent
e80c2c1a57
commit
eb37c47ff5
|
@ -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`
|
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.
|
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)"
|
=== "server.yml (HTTP-only, with cache + attachments)"
|
||||||
```
|
``` yaml
|
||||||
base-url: "http://ntfy.example.com"
|
base-url: "http://ntfy.example.com"
|
||||||
cache-file: "/var/cache/ntfy/cache.db"
|
cache-file: "/var/cache/ntfy/cache.db"
|
||||||
attachment-cache-dir: "/var/cache/ntfy/attachments"
|
attachment-cache-dir: "/var/cache/ntfy/attachments"
|
||||||
```
|
```
|
||||||
|
|
||||||
=== "server.yml (HTTP+HTTPS, with cache + attachments)"
|
=== "server.yml (HTTP+HTTPS, with cache + attachments)"
|
||||||
```
|
``` yaml
|
||||||
base-url: "http://ntfy.example.com"
|
base-url: "http://ntfy.example.com"
|
||||||
listen-http: ":80"
|
listen-http: ":80"
|
||||||
listen-https: ":443"
|
listen-https: ":443"
|
||||||
|
|
Loading…
Reference in New Issue