Tutorial for Nginx and Production configuration steps by step

Hello Everyone i was started to development in frappe there i learned lot off things and i decided to share what i learned

first off all aftre complete installation in development mode

we have to setup supervisorctl and nginx

when you try bench setup production
we start from access the application from site name wich are configred a domain name if your domain name and site is same its ok but if defrent then i will explain in defrent steps

bench setup add-domain (your domain)
you can do it menualy from your app site wich site you want to run on specific domain , go to site_config.json and add domain like this

 "host_name": "http://yourdomain.com",
 "domains": [
  "yourdomain.com"
 ]

more