Nginx
The nginx web server administration interface.
Nginx Settings
The Default Nginx Web Server Settings
This page will help you to tune and configure Nginx server default settings.
Nginx -> Nginx Settings
You can chose the proper configuration of your Nginx web server, Reset , Rebuild Vhosts and Restart Nginx
Eenos provide a large number of Nginx tuning settings on this page. To know more about the Nginx server parameters please read the documentation from the software vendor website.
Eenos Provide the settings in different categories
- Basic Settings : To configure the basic Nginx settings
- Nginx Firewall : A security settings to configure Nginx based web application firewall.
- DDOS Protection : To setup Layer 7 DDOS attack protection.
- Proxy Settings : To configure default Nginx Proxy Settings
- Proxy Cache Settings : To manage proxy cache settings.
- FCGI Cache Settings : To manage FCGI server cache settings
Nginx Operations Modes
The Nginx server in Eenos control panel will work on three different modes.
- Hybrid : This mode will server the static files directly from Nginx and dynamic pages from HTTPD or OpenLiteSpeed
- Proxy : This mode will work as a proxy one web server in front of HTTPD or OpenLiteSpeed
- Nginx : This mode will serve all pages and files directly from Nginx itself.
So configure Nginx settings and click the button Save Settings, which will save the Nginx server settings.
Nginx Domains
Manage Individual Nginx Vhosts
This page will help you to make changes to individual Nginx Vhost for a domain.
Nginx -> Nginx Domains
This page will list your all the domains , App Template, PHP version and Python versions assigned on those domains. You can Edit Nginx Settings, Rebuild Vhost and Change Site App.
Edit Nginx Settings.
This option will help you to tune an single Nginx Vhost. To edit settings of a website click the button Edit Nginx Settings for the selected website. This will take you to a page with lots of Nginix options.
You may select the proper Nginx parameters for the domain and Save Settings. We recommend to read the Nginx documentation to understand the Nginx parametes.
Rebuild Vhost
To rebuild Nginx vhost for a specif domain click the button Rebuild Vhost. This will rebuild the vhost settings.
Change Site APP
The site APPS are Nginx optimized vhost templates, specifically designed for the app.
For example the wordpress template will provide more performance than a proxy template.
Eenos provides a lots of Nginx App templates.
To change the Nginx app template click the button Change Site APP, which will take you to an app selector page . Select the suitable website app and click the button Save.
You can build Nginx Custom app templates. To know more about Nginx app templates., please read the Eenos Template Documentation.
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.
Nginx Cache Purge
Remove Nginx Server Cache
This page will help you to clear server side cache on Nginx domains.
Nginx -> Nginx Cache Purge
To clear the full Nginx server cache click the button Clean All Nginx Cache. This will remove all the cache files from the following Nginx cache folder,
/var/cache/nginx/
URL Cache Purge
This option will help you to purge the cache of a website url . You may enter the full url and click the button Purge URL Cache.
Domain Cache Purge
This page list all your Nginx domains. To clear cache of a specific Nginx domain click the button Purge Cache for he selected domain.
Please make sure to remove your browser cache too before purging server side cache, The static files like CSS , HTML, JS , etc,. will be cached on your browser too.