ERPNext: Solution for NGINX Setup Error
By Michael Appiah on January 26, 2026
ExpertPRE-REQUISITE:
--> You need to be already logged into your erpnext server terminal to be able to execute this.
SOLUTION FOR NGINX SETUP ERROR (SSL Certificate Installation Error: Could not find a matching server block to ...):
Do:
--> cd /etc/nginx/conf.d;
--> ls
--> rm -rf frappe-bench.conf (delete any existing nginx configuration folder)
--> bench setup nginx
--> bench setup production (erpnext user)
Was this article helpful?
More articles on Erpnext