Https Erpnext my nginx website is secure but erpnext is not

I need to set https to my site local.net with port default port 8000 and my nginx website is https and valid certificate but my erpnext website is not secure what is problem