Nginx App Templates
Managing Nginx App Templates
This page will help you to manage Nginx Vhost or App templates.
Nginx -> Nginx App Templates
This page will list all available Nginx App templates in a table. You can Clone the template as another Global template or clone it for a User.
You can only Edit the Global custom templates and User templates.
Eenos user the Python Mako template language to create Nginx App templates.
Clone As Global.
You can create a custom global template using this option. Click the button Clone as Global, which will popup a box . You need to enter a new template name and description for the new plate and save it.
Clone for User
You can create a custom Nginx app template for the user using this option, so that you can add custom settings for a user specif domain,
Delete APP Template
Deleting APP Template will remove the custom template.
Edit
This option will help you to edit the Nginx app template from browser.
It is recommend to edit the template from server terminal or using your favorite code editor.
Types Of Nginx App Templates.
Eenos provides three types of Nginx app templates,
Global Template
These templates can be used by all Eenos users and Resellers. These templates are provided by Eenos developers. The Nginx Global templates located on the following folder,
/usr/local/eenos/templates/webserver/nginx
Any changes or Global templates will be reverted backup during update time.
We recommend to create custom global templates as follows,
Global Custom Template
These nginx templates are the customized Nginx Global templates . This can be used by any Eenos user and reseller.
The Global Custom templates are located on the following folder,
/usr/local/eenos/templates/webserver/nginx/custom/
User Custom Template
These Nginx app templates are user specific vhost templates. Only the owner of that template can use it. The location of the user custom templates are as follows,
/var/eenos/userdata/USER/templates/nginx/
Where USER is the Eenos user name.
Template Language
Eenos user the Python Mako template language to create Nginx App templates. We recommend to read the documentation to know how to create Nginx App template.