Nginx Acceleration Stack Overview
Posted by H9 Admin on 20 June 2014 01:21 PM
|
|
The HostNine Nginx Acceleration stack is designed to provide greater levels of scale for Dedicated and Cloud VPS servers that receive high amounts of traffic or that require additional performance through the features provided in the acceleration stack. The acceleration stack allows for specific users to receive full page caching of dynamic content through Nginx. This is ideal if a site receives an unplanned surge in traffic or is victim of a HTTP-based DDoS attack, where such events would typically crash or render unresponsive a Cloud VPS or Dedicated server. By using the full page caching feature of the HostNine Nginx Acceleration stack, customers can continue to service requests for their most popular websites without impacting the performance and uptime of other websites they may be hosting. Features
UsageEnable NGinx caching service
Enable NGinx cache for user rfxncom
Set dynamic content caching to 5 minutes for user rfxncom
Remove dynamic content caching for user rfxncom # nginxctl -d rfxncom Disable Nginx caching service and revert Apache to previous state
usage nginxctl: [-a|--add USER] [-d|--delete USER] [-s|--setcache USER off|N] [-e|--enable] [-x|--disable] [-c|--clear-cache] [-t|--tmpfs] -a, --add USER Add user and associated domains to nginx cache. Default cache tells nginx to retrieve static content from apache and store in nginx cache, serving dynamic and static content with cache times of 10 minutes. -s, --setcache USER off|N Change dynamic content cache time or disable for user and all associated domains. User argument accepts keyword 'all' to change cache values for all users and argument options are 'off' to disable cache or 'N' for minutes to cache dynamic content. # disable dynamic content caching for all users e.g: nginxctl -s all off # set dynamic contenting cache expire to 5min for user rfxncom e.g: nginxctl -s rfxncom 5 -c, --clear-cache Clear nginx cache contents. -d, --delete USER Delete user and associated domain vhosts from nginx cache. -e, --enable Enable nginx caching service. -x, --disable Disable nginx caching service and remove all vhosts from nginx. | |
|