Hi again!
After the long holidays, here I am again
My server is starting to take shape. Apache is already working, the 2 needed hostnames are online, and the certificates are configured (certbot). PostgreSQL is also already working correctly. This week I’ll attempt installing Lemmy and then LemmyBB, but I’m already having some doubts about the configuration of Lemmy, in particular here:
the domain name of your instance (mandatory)
hostname: “unset”
Address where lemmy should listen for incoming requests
bind: “0.0.0.0”
Port where lemmy should listen for incoming requests
port: 8536
Whether the site is available over TLS. Needs to be true for federation to work.
tls_enabled: true
For the hostname, I’m assuming it’s the public FQDN.
The bind can be 127.0.01, as Apache will reverse proxy it?
Port is clear.
As the reverse proxy (Apache) is the one who is going to be handling the actual TLS, should TLS be enabled here? As I don’t see any way of configuring the certificate into Lemmy, is this a way of telling Lemmy that the reverse has TLS enabled? If Lemmy needs the actual certificate (how?), can it be pointed to the same key file that certbot generates for Apache, so as to simplify it’s renewal?
Many thanks!!
Aaaand, first failure!!
After installing rustup, using cargo to download+compile lemmy server, and configuring lemmy, when I try to execute lemmy-server it fails. After enabling the backtrace, this is what I get:
These variables are probably relevant:
CARGO_HOME=/usr/local/cargo
RUSTUP_HOME=/usr/local/rustup
PATH=/usr/local/cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
RUST_BACKTRACE=full\
(Side note, the “code” and “quote” functions of the forum are cranky to say the least)
Any suggestion would be greatly appreciated.