I wish to implement https for my erpnext site instead of http. I followed manual install instructions from Using Let's Encrypt to setup HTTPS. My Erpnext sitename(site1.local) is different from the hostname(erpnext.techshift.in). My nginx.conf looks like this
http to https redirect
server {
listen 80;
server_name erpnext.techshift.in;
return 301 https://$host$request_uri;
}
When checking the url, my site now shows following error.
I think you didn’t link .conf files. Does HTTP work?
When you generate nginx.conf in config folder try copy pasting nginx.conf file into /etc/nginx/conf.d/ or whatever is your nginx conf directory.
Hi @MrKovalski,
Http is working fine until I implemented HTTPS.
I have ‘frappe-bench.conf’ in ‘/etc/nginx/conf.d/’ directory that has the configurations similar to ‘frappe-bench/config/nginx.conf’ but still have the issue.