snac2 for Debian
================

A system-wide instance of snac2 will be set up automatically by the
package. The data will be stored in /var/lib/snac2.


Configuration
-------------

The host is set to "localhost" by default. This should be changed in
/var/lib/snac2/server.json. After changing it, restart the snac2 service:

$ sudo systemctl restart snac2

Users can be added from the command line (run as root user):

# sudo -u debian-snac -- snac adduser /var/lib/snac2


Nginx reverse-proxy setup
-------------------------

An example nginx site configuration is available. It refers to
a self-signed certificate and private key, but you will likely need to
change this for a production instance.


Apache2 reverse-proxy setup
---------------------------

If apache2 is installed, then a reverse proxy is provided on the /social web
path.

 -- James Valleroy <jvalleroy@mailbox.org>, Sat,  3 Feb 2024 07:53:01 -0500
