Get 30% off your WordPress Hosting with code WPSAVE10. Launch Faster. Save More!
  • 00 Days
  • 00 Hours
  • 00 Minutes
  • 00 Seconds

Nginx Website Tools – Enhance Hosting

Websites hosted on a Nginx web server have additional tools available to them in the control panel.

The following Nginx tools can be configured on a per-domain basis:

FastCGI caching

FastCGI caching will maintain a static cache of rendered pages to avoid passing the request to PHP.  This will greatly improve performance for your website users when a cached page is served.

To configure FastCGI caching:

  1. Select Websites from the left-hand menu
  2. Select the website you would like to edit the Nginx settings for
  3. Visit Developer tools and scroll to the Nginx card
  4. Select the domain you would like to edit and configure the settings

Cache Exclusion

This will prevent specific paths from being cached.  This is useful for pages which must be dynamic such as shopping carts. An exact path like /wp-admin or a regular expression like ^wp can be excluded.

To configure Cache Exclusion:

  1. Select Websites from the left-hand menu
  2. Select the website you would like to edit the Nginx settings for
  3. Visit Developer tools and scroll to the Nginx card
  4. Select the domain you would like to edit and configure the settings

Purge Cache

This will delete all currently cached pages from the cache.

To purge cache:

  1. Select Websites from the left-hand menu
  2. Select the website you would like to edit the Nginx settings for
  3. Visit Developer tools and scroll to the Nginx card
  4. Select the domain you would like to edit and configure the settings

URL Rewriting

This will rewrite paths to a PHP script if the file does not exist.  This is useful for WordPress permalinks functionality and other rewrites which would typically use .htaccess files.

To configure URL rewriting:

  1. Select Websites from the left-hand menu
  2. Select the website you would like to edit the Nginx settings for
  3. Visit Developer tools and scroll to the Nginx card
  4. Select the domain you would like to edit and configure the settings
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Configure Nginx for WordPress Permalinks – Enhance Hosting

URL Rewriting This will rewrite paths to a PHP script if the file does not exist. This is useful...

How to clear LiteSpeed Cache in WordPress

If you’re using LiteSpeed Cache on your WordPress website, it’s important to clear the cache when...

How to force a LiteSpeed web server licence update – LiteSpeed Enterprise

If your LiteSpeed Web Server (LSWS) is failing to start due to a license error (e.g. after...

Best Apache Worker (MPM) for WordPress and PHP CMS hosting on cPanel – Apache

When hosting WordPress or any PHP-based CMS (such as Joomla, Drupal, or Magento) on a cPanel...