On running :
cp /opt/pleroma/installation/pleroma.nginx /etc/nginx/sites-available/pleroma.nginx
If I get
cp: cannot create regular file '/etc/nginx/sites-available/pleroma.nginx': No such file or directory
What went wrong in the installation? I understand that it means the directory does not exist but when I manually created it and did a forced
ln -sf /etc/nginx/sites-available/pleroma.nginx /etc/nginx/sites-enabled/pleroma.nginx
I get a 502 Bad Gateway error. Is there a quick way to resolve this or do I need to start the installation all over again?
I also ran the replace example.tld step using
nano /etc/nginx/sites-enabled/pleroma.nginx