fastcgi_cache_purge with open_basedir issue
-
Hi!
I setup the plugin to work with the
fastcgi_cache_purgemodule and it is not purging the cache. I’ve found that this is because theopen_basedirsetting enabled:is_dir(): open_basedir restriction in effect. File(/var/run/nginx-cache) is not within the allowed path(s): (...) /wp-content/plugins/nginx-helper/admin/class-purger.php on line 1228But why is trying to perform filesystem actions when it should just make a GET request?
I know I can add the
nginx-cachefolder to theopen_basedirpaths, but it will be nice to avoid need doing it when you’re using the module method.Thanks so much for this plugin!
PS: I’ve tried the URL mysite/purge/ and works good.
The topic ‘fastcgi_cache_purge with open_basedir issue’ is closed to new replies.