Installing on AWS, ubuntu 18.02. Installing based on hitchhiker’s guide, running into trouble setting up Nginx.
frappe:~/frappe-bench$ bench setup nginx
WARN: bench is installed in editable mode!
This is not the recommended mode of installation for production. Instead, install the package from PyPI with: `pip install frappe-bench`
Port configuration list:
Site globaltec assigned port: 80
frappe:~/frappe-bench$ rm -f /etc/nginx/sites-enabled/*
rm: cannot remove '/etc/nginx/sites-enabled/default': Permission denied
frappe:~/frappe-bench$ sudo rm -f /etc/nginx/sites-enabled/*
frappe:~/frappe-bench$ sudo ln -s ./config/nginx.conf /etc/nginx/sites-enabled/frappe.conf
frappe:~/frappe-bench$ sudo service nginx restart
Job for nginx.service failed because the control process exited with error code.
See "systemctl status nginx.service" and "journalctl -xe" for details.
Anyone know where I’m going wrong?