Issue with install instructions [Fixes Inside]
On this page https://docs.pleroma.social/backend/installation/otp_en/ I found an issue with the nginx config install instructions.
cp /opt/pleroma/installation/pleroma.nginx /etc/nginx/sites-available/pleroma.nginx
ln -s /etc/nginx/sites-available/pleroma.nginx /etc/nginx/sites-enabled/pleroma.nginx
Is incorrect. The default nginx config is set up to look for .conf files, not .nginx files.
the proper commands would be
cp /opt/pleroma/installation/pleroma.nginx /etc/nginx/sites-available/pleroma.conf
ln -s /etc/nginx/sites-available/pleroma.conf /etc/nginx/sites-enabled/pleroma.conf
as well as the other issue I have found with LetsEncrypt
As per the letsencrypt documentation, the End User needs to agree to Letsencrypt ToS.
The install instructions need to be as follows
apt install curl unzip libncurses5 postgresql postgresql-contrib nginx certbot python-certbot-nginx
and the letsencrypt setup command needs to be as follows
certbot --nginx
Thanks!
Edited by John