• Hello,

    As a previous post described, with newer versions of Nginx sometimes the directories of the cache tree are not created as a 32bit hash, but as a longer string. In order to make it work, I had to modify the function validate_dirlist and add this at the top of the function:

    //If file name has a dot, dont make this check. Nginx sometimes creates cache files like:
    // /var/www/site/nginx-cache/b/db/891535e53e15b5ddef11154f9a403dbb
    // /var/www/site/nginx-cache/b/db/891535e53e15b5ddef11154f9a403dbb.0000017454
    if ( $item[ ‘type’ ] === ‘f’ && strpos($item, “.”) !== false ) {
    return true;
    }

    This is still needed in plugin version 1.04. Please, check if my proposed modification is ok and update your plugin accordingly.

    Thank you!

  • The topic ‘“Cache Zone Path” does not appear to be a Nginx cache zone directory’ is closed to new replies.