fastcgi_cache_purge with open_basedir issue
-
Hi!
I setup the plugin to work with the
fastcgi_cache_purge
module and it is not purging the cache. I’ve found that this is because theopen_basedir
setting 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 1228
But why is trying to perform filesystem actions when it should just make a GET request?
I know I can add the
nginx-cache
folder to theopen_basedir
paths, 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.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘fastcgi_cache_purge with open_basedir issue’ is closed to new replies.