root@vps:~# sudo -u www-data cat /etc/nginx/nginx.conf | head -n 10
user www-data;
worker_processes 4;
pid /run/nginx.pid;
include /etc/nginx/modules-enabled/*.conf;
ls -la /etc/nginx/nginx.conf
-rw-r–r– 1 root root 2407 Apr 6 16:08 /etc/nginx/nginx.conf
Though, it must be because of php open_basedir. I commented it out for few mins , after that NPP could see nginx.conf….
Br,
Tamás
open_basedir =
{ABSPATH}/ :
{ABSPATH}/../ :
/dev/shm/ :
/tmp/ :
/var/ :
/cache/ :
/proc/ :
/dev/null :
/etc/nginx/ :
/usr/bin/ :
/usr/sbin/ :
/usr/local/bin/ :
/usr/local/sbin/ :
/bin/ :
/sbin/
Yes, if you use open_basedir, you need to allow access to cache paths, nginx.conf paths, and other paths that NPP requires, which can be hard to manage.
Yes. Thank you for your help and troubleshooting. Altough, this plugin is very good !
Hi Hasan,
The fix works perfectly. After applying all 5 replacements, the following blocks are now showing correct data:
- Cache Status: 4,174 pages cached, 100% cache coverage (4,174 cached / 3,387 total sitemap URLs), cache dir size 545.26 MB
- Preload Progress: completed successfully 3,389 URLs processed in 19m 38s, status “Completed”
- Cache List: all entries are correctly listed with HIT status
Previously these blocks were either empty or showing incorrect data due to the $request_method not being part of the Engintron cache key, causing all entries to be skipped by the GET filter.
Happy to do end-to-end testing of v2.1.6 as well. Thank you for the quick diagnosis!