How to customize page 404 for your domain

We don't use Apache, so it is necessary to use "Nginx editor" for creation of your own page 404. For it:

1. Go to page "Domains";
2. Click on the icon "cogwheel" near the needed domain and select the item "Nginx Editor";
3. Add the following line to Nginx Editor, after "root":

error_page 404 /404.html;

/404.html is the path to the file of error 404, relatively to "root".