Added DNS record documentation
This commit is contained in:
parent
63540add66
commit
a094dd2896
|
@ -26,6 +26,14 @@ copy the [example config](https://schlomp.space/tastytea/libravatarserv/src/bran
|
||||||
according to your needs. Other webservers and cgi spawners will also work, of
|
according to your needs. Other webservers and cgi spawners will also work, of
|
||||||
course.
|
course.
|
||||||
|
|
||||||
|
Add the following DNS records to your nameserver:
|
||||||
|
```PLAIN
|
||||||
|
_avatars._tcp.example.com. IN SRV 0 0 80 avatars.example.com
|
||||||
|
_avatars-sec._tcp.example.com. IN SRV 0 0 443 avatars.example.com
|
||||||
|
```
|
||||||
|
`_avatars._tcp.example.com` is for HTTP, `_avatars-sec._tcp.example.com` is for
|
||||||
|
HTTPS.
|
||||||
|
|
||||||
libravatarserv looks in each of `${XDG_DATA_DIRS}` for a directory named
|
libravatarserv looks in each of `${XDG_DATA_DIRS}` for a directory named
|
||||||
`libravatarserv`. You can force a different directory by setting the environment
|
`libravatarserv`. You can force a different directory by setting the environment
|
||||||
variable `${AVATAR_DIR}`.
|
variable `${AVATAR_DIR}`.
|
||||||
|
|
Loading…
Reference in New Issue