Thinking it would help my problem with the mobile app (mobile app unable reach my server), I uninstalled and reinstalled nginx and now can’t reach ERPnext at all.
curl 127.0.0.1:8000 on the server yields a 404 error
How can I fix this?
Thinking it would help my problem with the mobile app (mobile app unable reach my server), I uninstalled and reinstalled nginx and now can’t reach ERPnext at all.
curl 127.0.0.1:8000 on the server yields a 404 error
How can I fix this?
I guess you “purged” nginx,
I think,
ln -s /home/frappe/frappe-bench/config/nginx.conf /etc/nginx/conf.d/frappe.conf
service nginx reload
should fix your issue
You can also do:
bench setup nginx
sudo ln -s `pwd`/config/nginx.conf /etc/nginx/conf.d/frappe.conf
The ln command will only work if the file isn’t already linked to /etc/nginx/conf.d