diff --git a/README.md b/README.md index 29ac304..e499ad6 100644 --- a/README.md +++ b/README.md @@ -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 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`. You can force a different directory by setting the environment variable `${AVATAR_DIR}`.