Skip to content

Nginx Website Tools

About

Websites hosted on a Nginx webserver kind have additional tools available to them in the Enhance UI.

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 scfroll to the Nginx card
  4. Select the domain you would like 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 scfroll to the Nginx card
  4. Select the domain you would like 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 scfroll to the Nginx card
  4. Select the domain you would like 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 scfroll to the Nginx card
  4. Select the domain you would like edit and configure the settings