+-------------------------------------------------------------------------------
| Running ${PKGSTEM} on OpenBSD
+-------------------------------------------------------------------------------

Optional dependencies
=====================

* py3-argon2-cffi: hashed password support in config file
* cfssl: automatic certificate provisioning with Cloudflare
* py3-ftpdlib: FTP support
* py3-openssl: TLS encryption for FTP support
* py3-paramiko: SFTP support
* py3-mutagen: music tags
* ffmpeg: music tags, alternatively (ffprobe), thumbnails
* py3-Pillow: image thumbnails
* py3-zmq: zeromq messages


Log rotation
============

Copyparty supports re-opening its log file on a signal, and the default
configuration sets it to SIGHUP, with a path of ${LOCALSTATEDIR}/log/copyparty/cpp.
In order to rotate logs, add a line like the following to newsyslog.conf:
${LOCALSTATEDIR}/log/copyparty/cpp  644  7     250    *     ZB "pkill -HUP -u _copyparty -f ${LOCALBASE}/bin/copyparty"

Reverse proxy setup
===================

Nginx and Apache examples are found in ${PREFIX}/share/examples/copyparty/
For relayd, just make sure to add the appropriate headers:
match request header set "X-Forwarded-For" value "$REMOTE_ADDR"
match request header set "X-Forwarded-Proto" value "https"

and just forward based on the appropriate Host header
