Also note following block of “http to https redirect” needs to be commented in /home/frappe/frappe-bench/config/nginx.conf
# http to https redirect
# server {
# listen 80;
# server_name
# erp.apple.com
# erp.orange.com
# ;
#
# return 301 https://$host$request_uri;
# }